]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Be stricter with warnings. I'd like to have added -pedantic, but then
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Jun 2000 08:11:04 +0000 (08:11 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Jun 2000 08:11:04 +0000 (08:11 +0000)
the compiler chokes on many exceptions without me knowing why...

git-svn-id: https://svn.dealii.org/trunk@2996 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/configure
deal.II/configure.in

index a09c125b24226979c9af1595af795b09244f01db..a39af221eb0e1c4ab8303344b784919825164d92 100755 (executable)
@@ -1156,7 +1156,7 @@ fi
 
 if test $GXX = yes ; then
   CXXFLAGSO="-O2 -Wuninitialized -felide-constructors -fnonnull-objects -ftemplate-depth-32"
-  CXXFLAGSG="-DDEBUG -ggdb -Wall -W -Wconversion -Winline -Woverloaded-virtual -ftemplate-depth-32"
+  CXXFLAGSG="-DDEBUG -ggdb -Wall -W -Wtraditional -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Woverloaded-virtual -Wstrict-prototypes -Wsynth -Wsign-compare -Wconversion -ftemplate-depth-32"
 
                       
   case "$GXXVERSION" in
index 315ca0dc235928055b618851f7ebb53c38be44a1..0974d8ba5334d8e330a3b42c2df928eeab0aa48e 100644 (file)
@@ -89,7 +89,7 @@ dnl -------------------------------------------------------------
 
 if test $GXX = yes ; then
   CXXFLAGSO="-O2 -Wuninitialized -felide-constructors -fnonnull-objects -ftemplate-depth-32"
-  CXXFLAGSG="-DDEBUG -ggdb -Wall -W -Wconversion -Winline -Woverloaded-virtual -ftemplate-depth-32"
+  CXXFLAGSG="-DDEBUG -ggdb -Wall -W -Wtraditional -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Woverloaded-virtual -Wstrict-prototypes -Wsynth -Wsign-compare -Wconversion -ftemplate-depth-32"
 
   dnl set some flags that are specific to some versions of the
   dnl compiler:

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.