Skip to content
Snippets Groups Projects
Commit a56d3a26 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

ENH: Suppress -Wsign-compare compilation option for OTB_COMPILE_WITH_FULL_WARNING condition

parent 808a7e29
Branches
Tags
No related merge requests found
...@@ -756,7 +756,7 @@ OPTION(OTB_COMPILE_WITH_FULL_WARNING "OTB developers : Compilation with FULL war ...@@ -756,7 +756,7 @@ OPTION(OTB_COMPILE_WITH_FULL_WARNING "OTB developers : Compilation with FULL war
MARK_AS_ADVANCED(OTB_COMPILE_WITH_FULL_WARNING) MARK_AS_ADVANCED(OTB_COMPILE_WITH_FULL_WARNING)
IF(OTB_COMPILE_WITH_FULL_WARNING) IF(OTB_COMPILE_WITH_FULL_WARNING)
IF(CMAKE_COMPILER_IS_GNUCXX) IF(CMAKE_COMPILER_IS_GNUCXX)
SET(OTB_FULL_WARNING_LIST_PARAMETERS "-Wall -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -pedantic -Wuninitialized -Wparentheses -Wsign-compare -Wunknown-pragmas -Wswitch -Wdiv-by-zero" CACHE STRING "List of compilation parameters.") SET(OTB_FULL_WARNING_LIST_PARAMETERS "-Wall -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -pedantic -Wuninitialized -Wparentheses -Wunknown-pragmas -Wswitch -Wdiv-by-zero" CACHE STRING "List of compilation parameters.")
MARK_AS_ADVANCED(OTB_FULL_WARNING_LIST_PARAMETERS) MARK_AS_ADVANCED(OTB_FULL_WARNING_LIST_PARAMETERS)
ENDIF(CMAKE_COMPILER_IS_GNUCXX) ENDIF(CMAKE_COMPILER_IS_GNUCXX)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment