]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Suppress an erroneous warning by pgCC.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Sep 2012 01:49:13 +0000 (01:49 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Sep 2012 01:49:13 +0000 (01:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@26227 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4

index 435f66c2f978c93582415591d5b2db5e3465f555..b8b53a4809b21803b948b1113c634269c0f51dc5 100644 (file)
@@ -979,8 +979,12 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
           dnl       somewhere in BOOST with BOOST_ASSERT. I have no idea
           dnl       what happens here
           dnl #284: "NULL references not allowed"
-          CXXFLAGSG="$CXXFLAGSG -DDEBUG -g --display_error_number --diag_suppress 68 --diag_suppress 111 --diag_suppress 128 --diag_suppress 155 --diag_suppress 177 --diag_suppress 175 --diag_suppress 185 --diag_suppress 236 --diag_suppress 284"
-          CXXFLAGSO="$CXXFLAGSO -fast -O2 --display_error_number --diag_suppress 68 --diag_suppress 111 --diag_suppress 128 --diag_suppress 155 --diag_suppress 177 --diag_suppress 175 --diag_suppress 185 --diag_suppress 236 --diag_suppress 284"
+          dnl #497: "declaration of "dim" hides template parameter" (while
+         dnl       theoretically useful, pgCC unfortunately gets this one
+         dnl       wrong on legitimate code where no such parameter is
+         dnl       hidden, see the email by ayaydemir on 9/3/2012)
+          CXXFLAGSG="$CXXFLAGSG -DDEBUG -g --display_error_number --diag_suppress 68 --diag_suppress 111 --diag_suppress 128 --diag_suppress 155 --diag_suppress 177 --diag_suppress 175 --diag_suppress 185 --diag_suppress 236 --diag_suppress 284 --diag_suppress 497"
+          CXXFLAGSO="$CXXFLAGSO -fast -O2 --display_error_number --diag_suppress 68 --diag_suppress 111 --diag_suppress 128 --diag_suppress 155 --diag_suppress 177 --diag_suppress 175 --diag_suppress 185 --diag_suppress 236 --diag_suppress 284 --diag_suppress 497"
           CXXFLAGSPIC="-Kpic"
 
           dnl pgCC can't (as of writing this, with version 12.5 in mid-2012) compile a part of BOOST.

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.