From 78a1931bdf051eb0cab44eb0f969393067bffc29 Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Mon, 26 Nov 2018 19:37:07 -0500 Subject: [PATCH] Makefile: disable implicit-fallthroug warnings --- src/Makefile.cfg | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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