@@ -66,7 +66,7 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
6666 add_compile_options_safe (-Wno-shadow-field-in-constructor )
6767 add_compile_options_safe (-Wno-covered-switch-default )
6868 add_compile_options_safe (-Wno-shorten-64-to-32 )
69- add_compile_options_safe (-Wno-zero-as-null-pointer-constant )
69+ add_compile_options_safe (-Wno-zero-as-null-pointer-constant ) # TODO: enable when warnings are fixed in in simplecpp and tinyxml2
7070 add_compile_options_safe (-Wno-format-nonliteral )
7171 add_compile_options_safe (-Wno-implicit-int-conversion )
7272 add_compile_options_safe (-Wno-double-promotion )
@@ -76,21 +76,20 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
7676 add_compile_options_safe (-Wno-implicit-float-conversion )
7777 add_compile_options_safe (-Wno-switch-enum )
7878 add_compile_options_safe (-Wno-float-conversion )
79- add_compile_options_safe (-Wno-redundant-parens ) # caused by Qt moc code
8079 add_compile_options_safe (-Wno-enum-enum-conversion )
8180 add_compile_options_safe (-Wno-date-time )
82- add_compile_options_safe (-Wno-suggest-override )
83- add_compile_options_safe (-Wno-suggest-destructor-override )
8481 add_compile_options_safe (-Wno-conditional-uninitialized )
82+ add_compile_options_safe (-Wno-suggest-override ) # TODO: enable when warnings are fixed in in tinyxml2
83+ add_compile_options_safe (-Wno-suggest-destructor-override ) # TODO: enable when warnings are fixed in in tinyxml2
84+ add_compile_options_safe (-Wno-extra-semi-stmt ) # TODO: enable when warnings are fixed in in tinyxml2
85+ add_compile_options (-Wno-disabled-macro-expansion )
8586
8687 # warnings we are not interested in
8788 add_compile_options (-Wno-four-char-constants )
8889 add_compile_options (-Wno-c++98-compat )
8990 add_compile_options (-Wno-weak-vtables )
9091 add_compile_options (-Wno-padded )
9192 add_compile_options (-Wno-c++98-compat-pedantic )
92- add_compile_options (-Wno-disabled-macro-expansion )
93- add_compile_options (-Wno-reserved-id-macro )
9493 add_compile_options_safe (-Wno-return-std-move-in-c++11 )
9594
9695 if (ENABLE_COVERAGE OR ENABLE_COVERAGE_XML)
0 commit comments