Skip to content

Commit

Permalink
try to fix warnings for GCC on MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
petercamps committed Dec 16, 2024
1 parent 083a06e commit fcfa433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SMILE/build/CompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
if (NO_EXTRA_WARNINGS)
target_compile_options(${TARGET} PRIVATE -Wno-misleading-indentation -Wno-unused-parameter
-Wno-unused-function -Wno-unused-result -Wno-deprecated-copy -Wno-sign-compare -Wno-restrict
-Wno-unused-variable -Wno-unused-but-set-variable -Wno-maybe-uninitialized)
-Wno-unused-variable -Wno-unused-but-set-variable -Wno-maybe-uninitialized -Wno-format)
endif()
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Intel")
target_compile_options(${TARGET} PRIVATE -fp-model precise -Wall)
Expand Down

0 comments on commit fcfa433

Please sign in to comment.