From: wolf Date: Thu, 13 Sep 2001 08:56:25 +0000 (+0000) Subject: Take out -W if advance check signals warning. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb5e328a26ce78fb906fb49f64239fcc5b39d2f0;p=dealii-svn.git Take out -W if advance check signals warning. git-svn-id: https://svn.dealii.org/trunk@4989 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/configure.in b/deal.II/configure.in index f2f7905f4b..6e77ededd7 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -258,7 +258,16 @@ if test "$GXX" = yes ; then ;; esac + dnl Some gcc compiler versions have a problem when using an unsigned count + dnl in the std::advance function. Unfortunately, this also happens + dnl occasionally from within the standard library, so we can't prevent the + dnl warning messages. Since this is annoying, switch of the flag -W which + dnl causes this. DEAL_II_CHECK_ADVANCE_WARNING + if test "x$DEAL_II_ADVANCE_WARNING" = "xyes" ; then + CXXFLAGSG="`echo $CXXFLAGSG | perl -pi -e 's/-W//g;'`" + fi + else if test "x$GXX_VERSION" = "xibm_xlc" ; then