diff options
author | unknown <gkodinov/kgeorge@macbook.gmz> | 2007-12-14 15:21:37 +0200 |
---|---|---|
committer | unknown <gkodinov/kgeorge@macbook.gmz> | 2007-12-14 15:21:37 +0200 |
commit | 763c1132c3a2b6352cd199ad17e1a121672c5740 (patch) | |
tree | 6682c1b590553e4556b970ac5bc9edec08ea1241 /BUILD | |
parent | 0cc269da52f939ffc6a6272370d113aac9ab5369 (diff) | |
download | mariadb-git-763c1132c3a2b6352cd199ad17e1a121672c5740.tar.gz |
Bug #31326: No compile check of order of initializations
fixed -Wreorder warnings
BUILD/SETUP.sh:
Bug #31326: enabled the -Wreorder warnings
sql/rpl_mi.cc:
Bug #31326: fixed -Wreorder warnings
storage/heap/ha_heap.cc:
Bug #31326: fixed -Wreorder warnings
storage/ndb/src/kernel/blocks/backup/Backup.hpp:
Bug #31326: fixed -Wreorder warnings
storage/ndb/src/kernel/blocks/pgman.cpp:
Bug #31326: fixed -Wreorder warnings
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/SETUP.sh | 6 |
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 |