From f315598c0c422c8655800b63e7e15b08cb584daa Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 3 Jun 2005 18:19:25 +0000 Subject: [PATCH] Get rid of -ftrapv again, it seems to hang some tests. git-svn-id: https://svn.dealii.org/trunk@10838 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 2 +- deal.II/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index d887545326..72583446ba 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -330,7 +330,7 @@ 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-128" - CXXFLAGSG="$CXXFLAGS -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Winline -Woverloaded-virtual -Wsynth -Wsign-compare -Wconversion -Wswitch -ftemplate-depth-128 -ftrapv" + 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" diff --git a/deal.II/configure b/deal.II/configure index 8200c93166..4b8b5e365b 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -3104,7 +3104,7 @@ echo "${ECHO_T}Unrecognized C++ compiler -- Try to go ahead and get help from de if test "$GXX" = yes ; then 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 -ftrapv" + 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" -- 2.39.5