Skip to content

Commit cbebcd7

Browse files
committed
compileroptions.cmake: disabled -Wswitch-default Clang warning [skip ci]
1 parent 8ea0aeb commit cbebcd7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmake/compileroptions.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
107107
add_compile_options_safe(-Wno-date-time)
108108
add_compile_options(-Wno-disabled-macro-expansion)
109109
add_compile_options_safe(-Wno-bitwise-instead-of-logical)
110+
add_compile_options_safe(-Wno-switch-default)
110111

111112
# these cannot be fixed properly without adopting later C++ standards
112113
add_compile_options_safe(-Wno-unsafe-buffer-usage)

0 commit comments

Comments
 (0)