From: Wolfgang Bangerth Date: Thu, 13 Sep 2001 08:56:25 +0000 (+0000) Subject: Take out -W if advance check signals warning. X-Git-Tag: v8.0.0~18809 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddaab7de62f2a7823b4571221566d2fd0ff7464d;p=dealii.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