From 66639dc1870fd30f1f4ef4e6b52d108eaadcbe5f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 11 Mar 2012 16:01:52 +0100 Subject: Made the "overloaded-virtual" warning an error to detect hidden overloaded virtual functions --- Make.config.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Make.config.template') diff --git a/Make.config.template b/Make.config.template index 9b92621a..6c778c28 100644 --- a/Make.config.template +++ b/Make.config.template @@ -6,7 +6,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: Make.config.template 2.6 2012/02/27 10:56:28 kls Exp $ +# $Id: Make.config.template 2.7 2012/03/11 15:33:54 kls Exp $ ### The C compiler and options: @@ -14,7 +14,7 @@ CC ?= gcc CFLAGS ?= -g -O3 -Wall CXX ?= g++ -CXXFLAGS ?= -g -O3 -Wall -Woverloaded-virtual -Wno-parentheses +CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses ifdef PLUGIN CFLAGS += -fPIC -- cgit v1.2.3