[cmake,compiler] disable -Wswitch-enum warning
the warning is quite useless as we do not always list all enumerations in a switch.
This commit is contained in:
parent
189abc73f3
commit
529ce7534b
@ -36,6 +36,7 @@ if (ENABLE_WARNING_VERBOSE)
|
||||
-Wall
|
||||
-Wpedantic
|
||||
-Wno-padded
|
||||
-Wno-switch-enum
|
||||
-Wno-cast-align
|
||||
-Wno-declaration-after-statement
|
||||
-Wno-unsafe-buffer-usage
|
||||
|
Loading…
x
Reference in New Issue
Block a user