From dcad94354887f029e9d39c2c768372b77ce1b6bc Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 2 Jun 2011 19:04:18 +0000 Subject: [PATCH] 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 --- deal.II/aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.5