From ddc5764303dd72f68d2c69cc574a6f42e8bcf86d Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Wed, 11 Apr 2018 02:20:22 +0300 Subject: Remove compiler warnings - Remove unused variables - Mark variables unused - Fix wrong types - Add no-strict-aliasing to 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 721ed3a4c45..e9bede9c746 100755 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -140,7 +140,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" + warnings="-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-strict-aliasing" # For more warnings, uncomment the following line # warnings="$warnings -Wshadow" -- cgit v1.2.1