mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 01:08:55 +00:00
Treat 'implicit fallthrough' errors as warnings
After fixing the warnings, the compiler option should be removed. Issue #3307
This commit is contained in:
committed by
Christian Helmuth
parent
b4649d84ee
commit
7fadfbbd9f
@ -16,6 +16,10 @@ CC_WARN = -Wall -Wextra -Waggregate-return -Wcast-align -Wcast-qual \
|
||||
-Wold-style-cast -Woverloaded-virtual -Wsign-promo \
|
||||
-Wlogical-op -Wstrict-null-sentinel \
|
||||
-Wstrict-overflow=5 -Wvolatile-register-var
|
||||
|
||||
# XXX fix the warnings and remove this option
|
||||
CC_WARN += -Wno-error=implicit-fallthrough
|
||||
|
||||
CC_OPT += -pipe \
|
||||
-fdata-sections -fomit-frame-pointer -freg-struct-return \
|
||||
-freorder-blocks -funit-at-a-time -fno-exceptions -fno-rtti \
|
||||
|
Reference in New Issue
Block a user