cmake: disable implicit-fallthrough by default

This commit is contained in:
Vladislav Sovrasov
2017-09-11 16:04:00 +03:00
parent 597b3f4456
commit 32bf712102
3 changed files with 11 additions and 0 deletions

View File

@@ -138,6 +138,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
add_extra_compiler_option(-Wno-delete-non-virtual-dtor)
add_extra_compiler_option(-Wno-unnamed-type-template-args)
add_extra_compiler_option(-Wno-comment)
add_extra_compiler_option(-Wno-implicit-fallthrough)
endif()
add_extra_compiler_option(-fdiagnostics-show-option)