1
0
Fork 0

Activate fixed warnings

This commit is contained in:
Ilya Fedin 2021-07-19 21:22:16 +04:00 committed by John Preston
parent 78627af3f5
commit b3f3876c5f

View file

@ -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()