From ca64b1297885fafa3f06528c3d6a10345381bccf Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 9 Jun 2000 08:11:04 +0000 Subject: [PATCH] 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 --- deal.II/configure | 2 +- deal.II/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: -- 2.39.5