From 885f7414c17c88ea977c30d14832ba5bd80413ee Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 2 Mar 2025 14:24:24 +0100 Subject: [PATCH] Removed -Werror=overloaded-virtual from Makefile and Make.config(.template) --- HISTORY | 2 ++ Make.config.template | 4 ++-- Makefile | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/HISTORY b/HISTORY index 3c92e4b0..7b55af5b 100644 --- a/HISTORY +++ b/HISTORY @@ -10094,3 +10094,5 @@ Video Disk Recorder Revision History - Added the "override" keyword to virtual functions reimplemented in derived classes. Plugins may want to do the same, but don't have to. +- Removed -Werror=overloaded-virtual from Makefile and Make.config(.template). + Plugins may want to do the same, but don't have to. diff --git a/Make.config.template b/Make.config.template index 8e510921..939fdd12 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 5.2 2024/10/11 14:21:04 kls Exp $ +# $Id: Make.config.template 5.3 2025/03/02 14:24:24 kls Exp $ ### The C compiler and options: @@ -14,7 +14,7 @@ CC = gcc CFLAGS = -g -O3 -Wall CXX = g++ -CXXFLAGS = -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses +CXXFLAGS = -g -O3 -Wall -Wno-parentheses # Use 'make DEBUG=1 ...' to build a debug version of VDR and plugins: ifdef DEBUG diff --git a/Makefile b/Makefile index 7a03061c..c759a236 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: Makefile 5.4 2024/10/21 19:01:16 kls Exp $ +# $Id: Makefile 5.5 2025/03/02 14:24:24 kls Exp $ .DELETE_ON_ERROR: @@ -16,7 +16,7 @@ CC ?= gcc CFLAGS ?= -g -O3 -Wall CXX ?= g++ -CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses +CXXFLAGS ?= -g -O3 -Wall -Wno-parentheses CXXFLAGS += $(CPPFLAGS) CDEFINES = -D_GNU_SOURCE