Skip to content

Commit a66c54f

Browse files
author
J. Scott Berg
committed
Remove undef of __STRICT_ANSI__ for msys2
1 parent 728c5c0 commit a66c54f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmake/compilers/setupGNU.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,4 @@ if (CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
4242
endif()
4343
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
4444
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98")
45-
if(WIN32)
46-
# MinGW automatically adds -ansi, so c++ code does not compile without this flag as well..
47-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -U__STRICT_ANSI__")
48-
endif()
4945
endif()

0 commit comments

Comments
 (0)