File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ set(CMAKE_CXX_EXTENSIONS OFF)
1616if (CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
1717 add_compile_options ($<$<COMPILE_LANGUAGE:Fortran>:-fimplicit-none>)
1818 add_compile_options ($<$<COMPILE_LANGUAGE:Fortran>:-ffree-line-length -none>)
19+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58175
20+ add_compile_options ($<$<COMPILE_LANGUAGE:Fortran>:-Wno-surprising>)
1921endif ()
2022
2123macro (add_prefix prefix rootlist)
@@ -303,7 +305,7 @@ foreach(target _PyPartMC)
303305 target_compile_options (${target} PRIVATE
304306 $<$<CXX_COMPILER_ID:MSVC >:/W4 /WX>
305307 $<$<NOT :$<CXX_COMPILER_ID:MSVC >>:-Wall -Wextra -Wpedantic -Werror>
306- $<$<NOT :$<CXX_COMPILER_ID:MSVC >>:-Wno-unused-parameter>
308+ $<$<NOT :$<CXX_COMPILER_ID:MSVC >>:-Wno-unused-parameter>
307309 )
308310endforeach ()
309311
You can’t perform that action at this time.
0 commit comments