Made the "overloaded-virtual" warning an error to detect hidden overloaded virtual functions

This commit is contained in:
Klaus Schmidinger
2012-03-11 16:01:52 +01:00
parent d43ab41c02
commit 66639dc187
15 changed files with 31 additions and 26 deletions

View File

@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: Makefile 2.25 2012/02/27 10:54:38 kls Exp $
# $Id: Makefile 2.26 2012/03/11 15:33:57 kls Exp $
.DELETE_ON_ERROR:
@@ -12,7 +12,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
LSIDIR = ./libsi
DESTDIR ?=