From 5f4c3ebb04abd23d47dba35578f3ae909d5f9cba Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 1 Dec 2010 14:34:26 +0000 Subject: [PATCH] Disable the following warning in xlC: 1540-2909 (W) The subscript 2 is out of range. The only valid subscript is 0. git-svn-id: https://svn.dealii.org/trunk@22892 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index e67e413c9d..6f8b2c0f5b 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -571,8 +571,8 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl case "$GXX_VERSION" in ibm_xlc) - CXXFLAGSG="$CXXFLAGSG -DDEBUG -check=bounds -info=all -qrtti=all -qsuppress=1540-2907" - CXXFLAGSO="$CXXFLAGSO -O2 -w -qansialias -qrtti=all -qsuppress=1540-2907" + CXXFLAGSG="$CXXFLAGSG -DDEBUG -check=bounds -info=all -qrtti=all -qsuppress=1540-2907 -qsuppress=1540-2909" + CXXFLAGSO="$CXXFLAGSO -O2 -w -qansialias -qrtti=all -qsuppress=1540-2907 -qsuppress=1540-2909" CXXFLAGSPIC="-qpic" LDFLAGSPIC="-qpic" ;; -- 2.39.5