summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2005-09-29 10:30:20 +0200
committermsvensson@neptunus.(none) <>2005-09-29 10:30:20 +0200
commitd3deacabd1ec7ee725e6a3966dd97e9094e75035 (patch)
treeab2a06ac1c025db596cab9864ddfd6a1a7f5bf8e /BUILD
parent972d85af8b861190acaace4c646297986a1e0eff (diff)
downloadmariadb-git-d3deacabd1ec7ee725e6a3966dd97e9094e75035.tar.gz
Add -ansi flag when building with gcc
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/SETUP.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index 3f8a9ccaf22..91633139c9c 100755
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -43,7 +43,7 @@ AM_MAKEFLAGS="-j 4"
# The following warning flag will give too many warnings:
# -Wshadow -Wunused -Winline (The later isn't usable in C++ as
# __attribute()__ doesn't work with gnu C++)
-global_warnings="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings"
+global_warnings="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -ansi"
#debug_extra_warnings="-Wuninitialized"
c_warnings="$global_warnings -Wunused"
cxx_warnings="$global_warnings -Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor"