]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Suppress a warning about array arguments out of range that may appear in dead code...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 26 Sep 2007 15:52:22 +0000 (15:52 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 26 Sep 2007 15:52:22 +0000 (15:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@15249 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index d2a7401ce4a49b146725eed27a1979869a85c10d..1b2ed76276a60f0bbb5fcc80653b0a00c0c72771 100644 (file)
@@ -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"
           ;;
index 3348efc396d76284b95143621bd3d3f420a71426..cfd8264ced6048ccdbb19bc7432228ff8ab57e36 100755 (executable)
@@ -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"
           ;;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.