Removed -Werror=overloaded-virtual from Makefile and Make.config(.template)

This commit is contained in:
Klaus Schmidinger
2025-03-02 14:24:24 +01:00
parent 336aef8b0f
commit 885f7414c1
3 changed files with 6 additions and 4 deletions

View File

@@ -10094,3 +10094,5 @@ Video Disk Recorder Revision History
- Added the "override" keyword to virtual functions reimplemented in derived classes. - Added the "override" keyword to virtual functions reimplemented in derived classes.
Plugins may want to do the same, but don't have to. 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.

View File

@@ -6,7 +6,7 @@
# See the main source file 'vdr.c' for copyright information and # See the main source file 'vdr.c' for copyright information and
# how to reach the author. # 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: ### The C compiler and options:
@@ -14,7 +14,7 @@ CC = gcc
CFLAGS = -g -O3 -Wall CFLAGS = -g -O3 -Wall
CXX = g++ 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: # Use 'make DEBUG=1 ...' to build a debug version of VDR and plugins:
ifdef DEBUG ifdef DEBUG

View File

@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and # See the main source file 'vdr.c' for copyright information and
# how to reach the author. # 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: .DELETE_ON_ERROR:
@@ -16,7 +16,7 @@ CC ?= gcc
CFLAGS ?= -g -O3 -Wall CFLAGS ?= -g -O3 -Wall
CXX ?= g++ CXX ?= g++
CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses CXXFLAGS ?= -g -O3 -Wall -Wno-parentheses
CXXFLAGS += $(CPPFLAGS) CXXFLAGS += $(CPPFLAGS)
CDEFINES = -D_GNU_SOURCE CDEFINES = -D_GNU_SOURCE