From: Wolfgang Bangerth Date: Wed, 26 Sep 2007 15:52:22 +0000 (+0000) Subject: Suppress a warning about array arguments out of range that may appear in dead code... X-Git-Tag: v8.0.0~9815 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=073467b4728265be4b4bfae07ab7632d23d41f96;p=dealii.git Suppress a warning about array arguments out of range that may appear in dead code (like in switch(dim) clauses that aren't taken). git-svn-id: https://svn.dealii.org/trunk@15249 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index d2a7401ce4..1b2ed76276 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -555,8 +555,8 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl case "$GXX_VERSION" in ibm_xlc) - CXXFLAGSG="$CXXFLAGS -DDEBUG -check=bounds -info=all -qrtti=all" - CXXFLAGSO="$CXXFLAGS -O2 -w -qansialias -qrtti=all" + CXXFLAGSG="$CXXFLAGS -DDEBUG -check=bounds -info=all -qrtti=all -qsuppress=1540-2907" + CXXFLAGSO="$CXXFLAGS -O2 -w -qansialias -qrtti=all -qsuppress=1540-2907" CXXFLAGSPIC="-qpic" LDFLAGSPIC="-qpic" ;; diff --git a/deal.II/configure b/deal.II/configure index 3348efc396..cfd8264ced 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -4173,8 +4173,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext case "$GXX_VERSION" in ibm_xlc) - CXXFLAGSG="$CXXFLAGS -DDEBUG -check=bounds -info=all -qrtti=all" - CXXFLAGSO="$CXXFLAGS -O2 -w -qansialias -qrtti=all" + CXXFLAGSG="$CXXFLAGS -DDEBUG -check=bounds -info=all -qrtti=all -qsuppress=1540-2907" + CXXFLAGSO="$CXXFLAGS -O2 -w -qansialias -qrtti=all -qsuppress=1540-2907" CXXFLAGSPIC="-qpic" LDFLAGSPIC="-qpic" ;;