@@ -45,17 +45,25 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
4545 # no need for c++98 compatibility
4646 add_compile_options (-Wno-c++98-compat-pedantic )
4747 # these are not really fixable
48- add_compile_options (-Wno-exit-time-destructors -Wno-global-constructors -Wno-weak-vtables )
48+ add_compile_options (-Wno-exit-time-destructors )
49+ add_compile_options (-Wno-global-constructors )
50+ add_compile_options (-Wno-weak-vtables )
4951 add_compile_options_safe (-Wno-unsafe-buffer-usage )
5052 add_compile_options_safe (-Wno-nrvo )
5153 # we are not interested in these
52- add_compile_options (-Wno-multichar -Wno-four-char-constants )
54+ add_compile_options (-Wno-multichar )
55+ add_compile_options (-Wno-four-char-constants )
5356 # ignore C++11-specific warning
54- add_compile_options (-Wno-suggest-override -Wno-suggest-destructor-override )
57+ add_compile_options (-Wno-suggest-override )
58+ add_compile_options (-Wno-suggest-destructor-override )
5559 # contradicts -Wcovered-switch-default
5660 add_compile_options (-Wno-switch-default )
5761 # TODO: fix these?
58- add_compile_options (-Wno-padded -Wno-sign-conversion -Wno-implicit-int-conversion -Wno-shorten-64-to-32 -Wno-shadow-field-in-constructor )
62+ add_compile_options (-Wno-padded )
63+ add_compile_options (-Wno-sign-conversion )
64+ add_compile_options (-Wno-implicit-int-conversion )
65+ add_compile_options (-Wno-shorten-64-to-32 )
66+ add_compile_options (-Wno-shadow-field-in-constructor )
5967
6068 if (CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 14 OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 14)
6169 # TODO: verify this regression still exists in clang-15
0 commit comments