summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2007-01-24 19:53:51 +0200
committermonty@narttu.mysql.fi <>2007-01-24 19:53:51 +0200
commitc022454e7c5690330ed78664443e65b3511649b8 (patch)
tree1fffcb8ab2b0f92e34d57ea11f25b47b092772ac /BUILD
parent729f0158669cb4dc7956d920f30307b299b0a113 (diff)
parent243a3a06e9961a18d13560bdd86788489cd72370 (diff)
downloadmariadb-git-c022454e7c5690330ed78664443e65b3511649b8.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"