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 ifdef GCC46
WFLAGS+=-Wno-suggest-attribute=noreturn WFLAGS+=-Wno-suggest-attribute=noreturn
endif endif
ifdef GCC71
WFLAGS+=-Wno-error=implicit-fallthrough -Wimplicit-fallthrough=3
endif
ifndef MINGW ifndef MINGW
ifdef GCC45 ifdef GCC45
@ -222,9 +219,9 @@ endif
ifdef GCC61 ifdef GCC61
WFLAGS+=-Wno-tautological-compare -Wno-error=tautological-compare WFLAGS+=-Wno-tautological-compare -Wno-error=tautological-compare
endif endif
ifdef GCC72 ifdef GCC71
WFLAGS+=-Wno-error=implicit-fallthroug WFLAGS+=-Wno-error=implicit-fallthrough
WFLAGS+=-Wno-implicit-fallthroug WFLAGS+=-Wno-implicit-fallthrough
endif endif
ifdef GCC80 ifdef GCC80
WFLAGS+=-Wno-error=format-overflow WFLAGS+=-Wno-error=format-overflow