Skip to content

Commit

Permalink
compileroptions.cmake: disabled -Wswitch-default Clang warning [ski…
Browse files Browse the repository at this point in the history
…p ci]
  • Loading branch information
firewave committed Jan 5, 2024
1 parent 8ea0aeb commit cbebcd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/compileroptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options_safe(-Wno-date-time)
add_compile_options(-Wno-disabled-macro-expansion)
add_compile_options_safe(-Wno-bitwise-instead-of-logical)
add_compile_options_safe(-Wno-switch-default)

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

0 comments on commit cbebcd7

Please sign in to comment.