mirror of
https://github.com/opencv/opencv.git
synced 2026-09-15 07:29:07 -05:00
cmake: disable implicit-fallthrough by default
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user