From 59e4efbe60a051220e04c0539acee5fafb24bd7a Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 12 May 2003 23:24:12 +0000 Subject: [PATCH] Get rid of -Wmissing-prototypes -Wstrict-prototypes, since these flags are no longer valid in gcc3.4 for C++, and have probably never been before (but didn't yield a warning then). I can't remember them doing any good anyway... git-svn-id: https://svn.dealii.org/trunk@7642 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 80b297582d..32fec106ff 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -226,7 +226,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-32" - CXXFLAGSG="$CXXFLAGS -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Winline -Woverloaded-virtual -Wstrict-prototypes -Wsynth -Wsign-compare -Wconversion -Wswitch -ftemplate-depth-32" + CXXFLAGSG="$CXXFLAGS -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Winline -Woverloaded-virtual -Wsynth -Wsign-compare -Wconversion -Wswitch -ftemplate-depth-32" 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 798eb55df4..e0d7b759ed 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -2846,7 +2846,7 @@ 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 -Wmissing-prototypes -Winline -Woverloaded-virtual -Wstrict-prototypes -Wsynth -Wsign-compare -Wconversion -Wswitch -ftemplate-depth-32" + CXXFLAGSG="$CXXFLAGS -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Winline -Woverloaded-virtual -Wsynth -Wsign-compare -Wconversion -Wswitch -ftemplate-depth-32" CXXFLAGSG="$CXXFLAGSG -Wno-long-long" -- 2.39.5