diff options
author | unknown <kostja@bodhi.(none)> | 2007-08-30 21:19:05 +0400 |
---|---|---|
committer | unknown <kostja@bodhi.(none)> | 2007-08-30 21:19:05 +0400 |
commit | 9cedd882e7027afeca5ea190e41df96a752194c5 (patch) | |
tree | 416cec1c3914a6e61e33f9e64e4b67a215d834ba /BUILD | |
parent | 3edb630197ae42353905325e9d1c8e78d329c23a (diff) | |
download | mariadb-git-9cedd882e7027afeca5ea190e41df96a752194c5.tar.gz |
Add -Wno-unused to --warning-mode=pedantic, otherwise sql/ compilation
generated so many warnings that the mode was unusable.
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 dc439e68c45..e940f7a3371 100755 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -105,7 +105,7 @@ if [ "x$warning_mode" != "xpedantic" ]; then # Added unless --with-debug=full debug_extra_cflags="-O1 -Wuninitialized" else - warnings="-W -Wall -ansi -pedantic -Wno-long-long -D_POSIX_SOURCE" + warnings="-W -Wall -ansi -pedantic -Wno-long-long -Wno-unused -D_POSIX_SOURCE" c_warnings="$warnings" cxx_warnings="$warnings -std=c++98" # NOTE: warning mode should not influence optimize/debug mode. |