From 7aca66a36a804cde38bebae4692b8560f8df4fa2 Mon Sep 17 00:00:00 2001 From: Anel Husakovic Date: Mon, 14 Jun 2021 21:59:49 +0200 Subject: [PATCH] MDEV-25916: Compilation failed for compile-pentium64-gcov script - Commit e3bffd579f4a introduced the change - Fixed with commit 2d857144485f in 10.4 (no removal of `Wimplicit-fallthrough=2`) - Fixed with commit 4a75b480e99c945c1c9c41669b85c96096da058b in 10.5+ - Closing PR #2817 Reviewed by: --- BUILD/SETUP.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh index 546955b60a1bd..f4ffe128b2c04 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 -Wimplicit-fallthrough=2 -Wformat-security -Wvla" + warnings="-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-strict-aliasing -Wformat-security -Wvla" # For more warnings, uncomment the following line # warnings="$warnings -Wshadow"