diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-10-10 17:00:18 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-10-10 17:00:18 +0000 |
commit | f8a68b5b953bfa0aa474fd743e55d0ef3c4abc44 (patch) | |
tree | 093f1dca58624acd441bbcfcb42e7a18715b5402 /tools | |
parent | d009d4cd983fcd140da79f92be6131b1b891df14 (diff) | |
download | mpfr-f8a68b5b953bfa0aa474fd743e55d0ef3c4abc44.tar.gz |
[nightly-test] added -Wno-sign-compare for g++, to avoid spurious warnings
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7194 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/nightly-test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/nightly-test b/tools/nightly-test index 6f65fc6f8..fc011a1ab 100755 --- a/tools/nightly-test +++ b/tools/nightly-test @@ -17,10 +17,11 @@ svn checkout "svn://scm.gforge.inria.fr/svn/mpfr/${BRANCH:-trunk}" "$DIR" cd "$DIR" autoreconf -i # -Wmissing-prototypes is not valid for C++ +# add -Wno-sign-conversion because of a bug in g++ if [ "$CC" == "g++" ]; then ./configure --with-gmp="$GMP" --enable-assert=full \ --disable-shared --enable-thread-safe --enable-tests-timeout=60 \ - CC="$CC" CFLAGS="-Wall -O2 -g -fstack-protector \ + CC="$CC" CFLAGS="-Wall -O2 -g -fstack-protector -Wno-sign-compare \ -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -ansi -pedantic-errors" else ./configure --with-gmp="$GMP" --enable-assert=full \ |