]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Dont be overly conservative with template instantiatio depth. Remove some stray semic...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Aug 2003 14:14:26 +0000 (14:14 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Aug 2003 14:14:26 +0000 (14:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@7904 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 1b2e025345f1bc7363143b5e85a49047f5cf3707..db3c925df914f1eb47d1bf73f0b9febb5cf8a520 100644 (file)
@@ -245,8 +245,8 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
 [
   dnl First the flags for gcc compilers
   if test "$GXX" = yes ; then
-    CXXFLAGSO="$CXXFLAGS -O2 -Wuninitialized -felide-constructors -ftemplate-depth-32"
-    CXXFLAGSG="$CXXFLAGS -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Winline -Woverloaded-virtual -Wsynth -Wsign-compare -Wconversion -Wswitch -ftemplate-depth-32"
+    CXXFLAGSO="$CXXFLAGS -O2 -Wuninitialized -felide-constructors -ftemplate-depth-128"
+    CXXFLAGSG="$CXXFLAGS -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Winline -Woverloaded-virtual -Wsynth -Wsign-compare -Wconversion -Wswitch -ftemplate-depth-128"
 
     dnl BOOST uses long long, so don't warn about this
     CXXFLAGSG="$CXXFLAGSG -Wno-long-long"
@@ -1601,7 +1601,7 @@ void __IssueError_Assert (const char *file,
   std::cerr << "--------------------------------------------------------"
            << std::endl;  
   std::abort ();
-};
+}
 
 template <class exc>
 void __IssueError_Throw (const char *file,
@@ -1613,7 +1613,7 @@ void __IssueError_Throw (const char *file,
                                   // Fill the fields of the exception object
   e.SetFields (file, line, function, cond, exc_name);
   throw e;
-};
+}
 
 #define AssertThrow(cond, exc)                                    \
   {                                                               \
@@ -1629,7 +1629,7 @@ class Exception0 :  public ExceptionBase {}
 namespace StandardExceptions 
 {
   DeclException0 (ExcInternalError);
-};
+}
 using namespace StandardExceptions;
     ],
     [
index 8f8094ee9358f64c88553116223d55a32d626b9d..d269a55fdcb8c2402eac0354981c132d9214f8de 100755 (executable)
@@ -2862,8 +2862,8 @@ echo "$as_me: error: Unrecognized compiler -- sorry" >&2;}
 
 
     if test "$GXX" = yes ; then
-    CXXFLAGSO="$CXXFLAGS -O2 -Wuninitialized -felide-constructors -ftemplate-depth-32"
-    CXXFLAGSG="$CXXFLAGS -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Winline -Woverloaded-virtual -Wsynth -Wsign-compare -Wconversion -Wswitch -ftemplate-depth-32"
+    CXXFLAGSO="$CXXFLAGS -O2 -Wuninitialized -felide-constructors -ftemplate-depth-128"
+    CXXFLAGSG="$CXXFLAGS -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Winline -Woverloaded-virtual -Wsynth -Wsign-compare -Wconversion -Wswitch -ftemplate-depth-128"
 
         CXXFLAGSG="$CXXFLAGSG -Wno-long-long"
 
@@ -3872,7 +3872,7 @@ void __IssueError_Assert (const char *file,
   std::cerr << "--------------------------------------------------------"
            << std::endl;
   std::abort ();
-};
+}
 
 template <class exc>
 void __IssueError_Throw (const char *file,
@@ -3884,7 +3884,7 @@ void __IssueError_Throw (const char *file,
                                   // Fill the fields of the exception object
   e.SetFields (file, line, function, cond, exc_name);
   throw e;
-};
+}
 
 #define AssertThrow(cond, exc)                                    \
   {                                                               \
@@ -3900,7 +3900,7 @@ class Exception0 :  public ExceptionBase {}
 namespace StandardExceptions
 {
   DeclException0 (ExcInternalError);
-};
+}
 using namespace StandardExceptions;
 
 int
@@ -3998,7 +3998,7 @@ void __IssueError_Assert (const char *file,
   std::cerr << "--------------------------------------------------------"
            << std::endl;
   std::abort ();
-};
+}
 
 template <class exc>
 void __IssueError_Throw (const char *file,
@@ -4010,7 +4010,7 @@ void __IssueError_Throw (const char *file,
                                   // Fill the fields of the exception object
   e.SetFields (file, line, function, cond, exc_name);
   throw e;
-};
+}
 
 #define AssertThrow(cond, exc)                                    \
   {                                                               \
@@ -4026,7 +4026,7 @@ class Exception0 :  public ExceptionBase {}
 namespace StandardExceptions
 {
   DeclException0 (ExcInternalError);
-};
+}
 using namespace StandardExceptions;
 
 int

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.