From: Wolfgang Bangerth Date: Fri, 9 Jun 2000 08:11:04 +0000 (+0000) Subject: Be stricter with warnings. I'd like to have added -pedantic, but then X-Git-Tag: v8.0.0~20416 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca64b1297885fafa3f06528c3d6a10345381bccf;p=dealii.git Be stricter with warnings. I'd like to have added -pedantic, but then the compiler chokes on many exceptions without me knowing why... git-svn-id: https://svn.dealii.org/trunk@2996 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/configure b/deal.II/configure index a09c125b24..a39af221eb 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -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 diff --git a/deal.II/configure.in b/deal.II/configure.in index 315ca0dc23..0974d8ba53 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -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: