mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-12-26 23:06:44 +01:00
Removed -Werror=overloaded-virtual from Makefile and Make.config(.template)
This commit is contained in:
2
HISTORY
2
HISTORY
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user