]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Two fixes in CHECK_ANON_NAMESPACE_BUG3.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Mon, 26 Apr 2004 08:42:12 +0000 (08:42 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Mon, 26 Apr 2004 08:42:12 +0000 (08:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@9101 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 675f04a32a38aa73aebe93f41c1006b87949f69c..54604c1ccbbb5aae6041a17f49207d6622bdcd6f 100644 (file)
@@ -2744,12 +2744,13 @@ AC_DEFUN(DEAL_II_CHECK_ANON_NAMESPACE_BUG3, dnl
 
   AC_LANG(C++)
   CXXFLAGS="$CXXFLAGSG"
-  case "$GXXVERSION" in
+  case "$GXX_VERSION" in
     gcc*)
        CXXFLAGS="$CXXFLAGS -Werror"
        ;;
+
     MIPSpro*)
-       CXXFLAGS="$CXXFLAGS -diagerror"
+       CXXFLAGS="$CXXFLAGS -diag_error 1174"
        ;;
   esac
 
index 8cc36d02cbe531687899c73355fc2316935780aa..b3b0ca7f95ef294ddd4573f38e989215d9741c5d 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 1.166 .
+# From configure.in Revision: 1.167 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.57.
 #
@@ -5184,12 +5184,13 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   CXXFLAGS="$CXXFLAGSG"
-  case "$GXXVERSION" in
+  case "$GXX_VERSION" in
     gcc*)
        CXXFLAGS="$CXXFLAGS -Werror"
        ;;
+
     MIPSpro*)
-       CXXFLAGS="$CXXFLAGS -diagerror"
+       CXXFLAGS="$CXXFLAGS -diag_error 1174"
        ;;
   esac
 

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.