From e3bffd579f4a1bf8e08dc714971729faeb371f63 Mon Sep 17 00:00:00 2001 From: Monty Date: Tue, 26 Mar 2019 17:36:20 +0200 Subject: Removed some warnings from -Wimplicit-fallthrough= with build scripts --- BUILD/SETUP.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BUILD/SETUP.sh') diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh index 7e6f0831423..6cf2a18404c 100755 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -141,7 +141,7 @@ elif [ "x$warning_mode" = "xmaintainer" ]; then debug_extra_cflags="-g3" else # Both C and C++ warnings - warnings="-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-strict-aliasing" + warnings="-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-strict-aliasing -Wimplicit-fallthrough=2" # For more warnings, uncomment the following line # warnings="$warnings -Wshadow" -- cgit v1.2.1