diff options
author | Monty <monty@mariadb.org> | 2019-03-26 17:36:20 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2019-04-01 19:47:24 +0300 |
commit | e3bffd579f4a1bf8e08dc714971729faeb371f63 (patch) | |
tree | 4d069a019de038e684a8c3ad4a9d86b4b871b1e6 /BUILD | |
parent | b5615eff0d00cfb4c60b9d1bf67094da7c2258a6 (diff) | |
download | mariadb-git-e3bffd579f4a1bf8e08dc714971729faeb371f63.tar.gz |
Removed some warnings from -Wimplicit-fallthrough= with build scripts
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/SETUP.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |