From ddaab7de62f2a7823b4571221566d2fd0ff7464d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 13 Sep 2001 08:56:25 +0000 Subject: [PATCH] Take out -W if advance check signals warning. git-svn-id: https://svn.dealii.org/trunk@4989 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.39.5