From: wolf Date: Mon, 12 May 2003 23:24:12 +0000 (+0000) Subject: Get rid of -Wmissing-prototypes -Wstrict-prototypes, since these flags are no longer... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59e4efbe60a051220e04c0539acee5fafb24bd7a;p=dealii-svn.git 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 --- 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"