diff --git a/src/Makefile.cfg b/src/Makefile.cfg index 70e300ef7..20219168f 100644 --- a/src/Makefile.cfg +++ b/src/Makefile.cfg @@ -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