Makefile: disable implicit-fallthroug warnings

This commit is contained in:
Alam Ed Arias committed 2018-11-26 19:38:14 -05:00
1 parent 5a3f469593
commit 78a1931bdf
1 file changed
+3 -6
+3 -6
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