warnings: disable -Wswitch-enum
This commit is contained in:
parent
0e00c08c0e
commit
3368ac332e
@ -45,7 +45,8 @@ append_compile_flag(-Wtype-limits)
|
||||
append_compile_flag(-Wunused-but-set-variable)
|
||||
append_compile_flag(-Wunused-parameter)
|
||||
append_compile_flag(-Wpessimizing-move)
|
||||
append_compile_flag(-Wswitch-enum)
|
||||
# Don't use -Wswitch-enum, it's the same as -Wswitch but also warns if you use
|
||||
# a default. Just don't use a default if that's something you want to catch.
|
||||
append_compile_flag(-Wswitch)
|
||||
|
||||
# dont use unsafe-loop-optimisations as there are too many false positives
|
||||
|
Loading…
Reference in New Issue
Block a user