From: bangerth Date: Thu, 2 Jun 2011 19:04:18 +0000 (+0000) Subject: Remove -Woverloaded-virtual from CXXFLAGS.g. We trigger this in X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e6a15996b15e1f68f312ee04a6ae323923e55e1;p=dealii-svn.git Remove -Woverloaded-virtual from CXXFLAGS.g. We trigger this in DataPostprocessor and derived classes since we now have two functions with the same name there but different signatures, but only one of the two has to be overloaded. git-svn-id: https://svn.dealii.org/trunk@23770 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 0095886de2..8bb4bfa4c0 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -389,7 +389,7 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl dnl First the flags for gcc compilers if test "$GXX" = yes ; then CXXFLAGSO="$CXXFLAGSO -O2 -funroll-loops -funroll-all-loops -fstrict-aliasing -Wuninitialized -felide-constructors -ftemplate-depth-128" - CXXFLAGSG="$CXXFLAGSG -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Woverloaded-virtual -Wsynth -Wsign-compare -Wswitch -ftemplate-depth-128" + CXXFLAGSG="$CXXFLAGSG -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wsynth -Wsign-compare -Wswitch -ftemplate-depth-128" dnl BOOST uses long long, so don't warn about this CXXFLAGSG="$CXXFLAGSG -Wno-long-long"