summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorgkodinov/kgeorge@macbook.gmz <>2007-12-14 15:21:37 +0200
committergkodinov/kgeorge@macbook.gmz <>2007-12-14 15:21:37 +0200
commit1a8935f4666c6cbc4bdf6a3ae2cf8a41d8674e87 (patch)
tree6682c1b590553e4556b970ac5bc9edec08ea1241 /BUILD
parent5244d7dcf61372fecc6f15d4088b6b6e341d512a (diff)
downloadmariadb-git-1a8935f4666c6cbc4bdf6a3ae2cf8a41d8674e87.tar.gz
Bug #31326: No compile check of order of initializations
fixed -Wreorder warnings
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/SETUP.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index e940f7a3371..ef8aefca710 100755
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -100,8 +100,10 @@ if [ "x$warning_mode" != "xpedantic" ]; then
# C warnings
c_warnings="$warnings -Wunused-parameter"
# C++ warnings
- cxx_warnings="$warnings -Woverloaded-virtual -Wsign-promo -Wreorder"
- cxx_warnings="$warnings -Wctor-dtor-privacy -Wnon-virtual-dtor"
+ cxx_warnings="$warnings"
+# cxx_warnings="$cxx_warnings -Woverloaded-virtual -Wsign-promo"
+ cxx_warnings="$cxx_warnings -Wreorder"
+ cxx_warnings="$cxx_warnings -Wctor-dtor-privacy -Wnon-virtual-dtor"
# Added unless --with-debug=full
debug_extra_cflags="-O1 -Wuninitialized"
else