mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-03 22:52:50 +00:00
Warn on implicit fallthrough
This commit is contained in:
parent
68c94ab194
commit
d6a3f3f4d8
1 changed files with 1 additions and 2 deletions
|
|
@ -234,8 +234,7 @@ ifdef GCC61
|
||||||
WFLAGS+=-Wno-tautological-compare -Wno-error=tautological-compare
|
WFLAGS+=-Wno-tautological-compare -Wno-error=tautological-compare
|
||||||
endif
|
endif
|
||||||
ifdef GCC71
|
ifdef GCC71
|
||||||
WFLAGS+=-Wno-error=implicit-fallthrough
|
WFLAGS+=-Wimplicit-fallthrough=4
|
||||||
WFLAGS+=-Wno-implicit-fallthrough
|
|
||||||
endif
|
endif
|
||||||
ifdef GCC81
|
ifdef GCC81
|
||||||
WFLAGS+=-Wno-error=format-overflow
|
WFLAGS+=-Wno-error=format-overflow
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue