summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2007-01-24 19:53:51 +0200
committerunknown <monty@narttu.mysql.fi>2007-01-24 19:53:51 +0200
commit233bee075455bbbddfe1a24ed10f47564534d934 (patch)
tree1fffcb8ab2b0f92e34d57ea11f25b47b092772ac /BUILD
parente57ef96a08b7339a9e6a546fd8a603d98a6aa072 (diff)
parentf7e838c5734230f174686b03738681c048e82add (diff)
downloadmariadb-git-233bee075455bbbddfe1a24ed10f47564534d934.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into mysql.com:/home/my/mysql-5.1 mysql-test/t/myisam.test: Auto merged mysql-test/t/ndb_basic.test: Auto merged
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"