Warn on implicit fallthrough

This commit is contained in:
Alam Ed Arias 2019-08-29 19:27:52 -04:00
parent 7a199748b9
commit dadec1196b
1 changed files with 1 additions and 2 deletions

View File

@ -234,8 +234,7 @@ ifdef GCC61
WFLAGS+=-Wno-tautological-compare -Wno-error=tautological-compare
endif
ifdef GCC71
WFLAGS+=-Wno-error=implicit-fallthrough
WFLAGS+=-Wno-implicit-fallthrough
WFLAGS+=-Wimplicit-fallthrough=4
endif
ifdef GCC81
WFLAGS+=-Wno-error=format-overflow