summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-03-11 16:01:52 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-03-11 16:01:52 +0100
commit66639dc1870fd30f1f4ef4e6b52d108eaadcbe5f (patch)
treeb51e52ab6cc1a6c091020e296f61f924cf4f3cf8 /newplugin
parentd43ab41c025b7b3cb8520aac522729500b97c1ac (diff)
downloadvdr-66639dc1870fd30f1f4ef4e6b52d108eaadcbe5f.tar.gz
vdr-66639dc1870fd30f1f4ef4e6b52d108eaadcbe5f.tar.bz2
Made the "overloaded-virtual" warning an error to detect hidden overloaded virtual functions
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin4
1 files changed, 2 insertions, 2 deletions
diff --git a/newplugin b/newplugin
index 53cbb73e..59a9435c 100755
--- a/newplugin
+++ b/newplugin
@@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: newplugin 2.7 2012/01/18 12:32:31 kls Exp $
+# $Id: newplugin 2.8 2012/03/11 15:34:26 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -77,7 +77,7 @@ VERSION = \$(shell grep 'static const char \\*VERSION *=' \$(PLUGIN).c | awk '{
### The C++ compiler and options:
CXX ?= g++
-CXXFLAGS ?= -g -O3 -Wall -Woverloaded-virtual -Wno-parentheses
+CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses
### The directory environment: