Activate fixed warnings
This commit is contained in:
parent
78627af3f5
commit
b3f3876c5f
1 changed files with 0 additions and 9 deletions
|
|
@ -11,25 +11,16 @@ INTERFACE
|
||||||
-pipe
|
-pipe
|
||||||
-Wall
|
-Wall
|
||||||
-W
|
-W
|
||||||
-Wno-unused-variable
|
|
||||||
-Wno-unused-parameter
|
-Wno-unused-parameter
|
||||||
-Wno-unused-function
|
|
||||||
-Wno-switch
|
-Wno-switch
|
||||||
-Wno-comment
|
|
||||||
-Wno-missing-field-initializers
|
-Wno-missing-field-initializers
|
||||||
-Wno-sign-compare
|
-Wno-sign-compare
|
||||||
-Wno-attributes
|
|
||||||
-Wno-parentheses
|
|
||||||
$<$<NOT:$<COMPILE_LANGUAGE:C>>:-Wno-register>
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
target_compile_options(common_options
|
target_compile_options(common_options
|
||||||
INTERFACE
|
INTERFACE
|
||||||
-Wno-unused-but-set-variable
|
|
||||||
-Wno-stringop-overflow
|
|
||||||
-Wno-maybe-uninitialized
|
-Wno-maybe-uninitialized
|
||||||
-Wno-error=class-memaccess
|
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue