summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2007-01-22 19:18:22 +0200
committermonty@narttu.mysql.fi <>2007-01-22 19:18:22 +0200
commit7df1dbcd74c3827b605c7c9b570e3d98a8e9f842 (patch)
treee1f7760d143c61bab6297ac28959e5b752a764ed /BUILD
parent02bed038bb0e00660ce4eb9268b9aa13fefcb5cb (diff)
parent2dcc7110c9fef59752e8cb01c9c79e2afb718362 (diff)
downloadmariadb-git-7df1dbcd74c3827b605c7c9b570e3d98a8e9f842.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into mysql.com:/home/my/mysql-5.1
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/SETUP.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index 1f62ffe7c26..35d35e2dc1e 100755
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -92,9 +92,9 @@ if [ "x$warning_mode" != "xpedantic" ]; then
# Both C and C++ warnings
warnings="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W"
warnings="$warnings -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare"
- warnings="$warnings -Wwrite-strings"
+ warnings="$warnings -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wshadow"
# C warnings
- c_warnings="$warnings -Wunused"
+ c_warnings="$warnings -Wunused-parameter"
# C++ warnings
cxx_warnings="$warnings -Woverloaded-virtual -Wsign-promo -Wreorder"
cxx_warnings="$warnings -Wctor-dtor-privacy -Wnon-virtual-dtor"