summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-21 02:38:18 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-21 02:38:18 +0300
commitdaf84780d386ee122ae4b4bd37b1e918f93fb202 (patch)
treef967cbbf8de1e36aa8c48a556938ef5bf1a9cab9 /build
parent98dabed4de60bc86522632379f2499aecbae2b70 (diff)
downloadmv-daf84780d386ee122ae4b4bd37b1e918f93fb202.tar.gz
mv-daf84780d386ee122ae4b4bd37b1e918f93fb202.tar.bz2
mv-daf84780d386ee122ae4b4bd37b1e918f93fb202.tar.xz
mv-daf84780d386ee122ae4b4bd37b1e918f93fb202.zip
Fix more warnings.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bmakesnapshot10
1 files changed, 3 insertions, 7 deletions
diff --git a/build/bmakesnapshot b/build/bmakesnapshot
index d77f2eb0c..89f465251 100755
--- a/build/bmakesnapshot
+++ b/build/bmakesnapshot
@@ -2,8 +2,6 @@
cd ..
-#need fix: -Wzero-as-null-pointer-constant
-
dir=`pwd`
export PATH=/usr/lib/gcc-snapshot/bin:$PATH
@@ -23,15 +21,13 @@ export CXXFLAGS="-Wvariadic-macros -Wvla -Wredundant-decls \
-Wcast-align -Wpointer-arith -Wundef \
-Wmissing-include-dirs -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \
-Wpacked -Wextra -Wstrict-overflow=1 -Wunknown-pragmas -Wwrite-strings \
--Wstack-protector -Wshadow -Wunused -Wunused-macros -Wsynth \
+-Wstack-protector -Wshadow -Wunused-macros -Wsynth \
-Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated -Wextra \
-Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \
-Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wc++11-compat -std=c++0x \
-Wdelete-non-virtual-dtor -Wmaybe-uninitialized -Wunused-local-typedefs \
--Wvector-operation-performance -Wfree-nonheap-object \
--Winvalid-memory-model -Wmaybe-uninitialized \
--Wnarrowing -Wunused-local-typedefs -Wvector-operation-performance \
--Wzero-as-null-pointer-constant"
+-Wvector-operation-performance -Wfree-nonheap-object -Winvalid-memory-model \
+-Wnarrowing -Wzero-as-null-pointer-constant"
autoreconf -i
./configure --prefix=$dir/run \