@@ -27,17 +27,25 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
2727 # no need for c++98 compatibility
2828 add_compile_options (-Wno-c++98-compat-pedantic )
2929 # these are not really fixable
30- add_compile_options (-Wno-exit-time-destructors -Wno-global-constructors -Wno-weak-vtables )
30+ add_compile_options (-Wno-exit-time-destructors )
31+ add_compile_options (-Wno-global-constructors )
32+ add_compile_options (-Wno-weak-vtables )
3133 add_compile_options_safe (-Wno-unsafe-buffer-usage )
3234 add_compile_options_safe (-Wno-nrvo )
3335 # we are not interested in these
34- add_compile_options (-Wno-multichar -Wno-four-char-constants )
36+ add_compile_options (-Wno-multichar )
37+ add_compile_options (-Wno-four-char-constants )
3538 # ignore C++11-specific warning
36- add_compile_options (-Wno-suggest-override -Wno-suggest-destructor-override )
39+ add_compile_options (-Wno-suggest-override )
40+ add_compile_options (-Wno-suggest-destructor-override )
3741 # contradicts -Wcovered-switch-default
3842 add_compile_options (-Wno-switch-default )
3943 # TODO: fix these?
40- add_compile_options (-Wno-padded -Wno-sign-conversion -Wno-implicit-int-conversion -Wno-shorten-64-to-32 -Wno-shadow-field-in-constructor )
44+ add_compile_options (-Wno-padded )
45+ add_compile_options (-Wno-sign-conversion )
46+ add_compile_options (-Wno-implicit-int-conversion )
47+ add_compile_options (-Wno-shorten-64-to-32 )
48+ add_compile_options (-Wno-shadow-field-in-constructor )
4149
4250 if (CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 14 OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 14)
4351 # TODO: verify this regression still exists in clang-15
0 commit comments