From 5a3f4695936edbe8b21bd6c533793bfca77995cc Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Mon, 26 Nov 2018 19:28:55 -0500 Subject: [PATCH] Makefile: skip implicit-fallthroug warnings --- src/Makefile.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Makefile.cfg b/src/Makefile.cfg index 2e300115..70e300ef 100644 --- a/src/Makefile.cfg +++ b/src/Makefile.cfg @@ -222,6 +222,10 @@ endif ifdef GCC61 WFLAGS+=-Wno-tautological-compare -Wno-error=tautological-compare endif +ifdef GCC72 + WFLAGS+=-Wno-error=implicit-fallthroug + WFLAGS+=-Wno-implicit-fallthroug +endif ifdef GCC80 WFLAGS+=-Wno-error=format-overflow WFLAGS+=-Wno-error=stringop-truncation