Makefile: disable implicit-fallthroug warnings

This commit is contained in:
Alam Ed Arias 2018-11-26 19:37:07 -05:00
parent 5a3f469593
commit 78a1931bdf
1 changed files with 3 additions and 6 deletions

View File

@ -190,9 +190,6 @@ endif
ifdef GCC46
WFLAGS+=-Wno-suggest-attribute=noreturn
endif
ifdef GCC71
WFLAGS+=-Wno-error=implicit-fallthrough -Wimplicit-fallthrough=3
endif
ifndef MINGW
ifdef GCC45
@ -222,9 +219,9 @@ endif
ifdef GCC61
WFLAGS+=-Wno-tautological-compare -Wno-error=tautological-compare
endif
ifdef GCC72
WFLAGS+=-Wno-error=implicit-fallthroug
WFLAGS+=-Wno-implicit-fallthroug
ifdef GCC71
WFLAGS+=-Wno-error=implicit-fallthrough
WFLAGS+=-Wno-implicit-fallthrough
endif
ifdef GCC80
WFLAGS+=-Wno-error=format-overflow