Bug #1504
closedoverloaded compile errors
100%
Description
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -D_GNU_SOURCE -DPLUGIN_NAME_
I18N='"mcli"' -I/home/lars/src/vdr/vdr-2.0.3/include -I/home/lars/src/vdr/vdr-2.0.3/include -I. `xml2-config --cflags` -o mcli.o mcli.c
In file included from /home/lars/src/vdr/vdr-2.0.3/include/vdr/dvbdevice.h:15:0,
from /home/lars/src/vdr/vdr-2.0.3/include/vdr/menuitems.h:14,
from /home/lars/src/vdr/vdr-2.0.3/include/vdr/plugin.h:14,
from mcli.c:13:
/home/lars/src/vdr/vdr-2.0.3/include/vdr/device.h:291:16: error: 'virtual bool cDevice::IsTunedToTransponder(const cChannel*) const' was hidden [-Werror=overloaded-virtual]
In file included from mcli.c:17:0:
device.h:109:15: error: by 'virtual bool cMcliDevice::IsTunedToTransponder(const cChannel*)' [-Werror=overloaded-virtual]
In file included from /home/lars/src/vdr/vdr-2.0.3/include/vdr/dvbdevice.h:15:0,
from /home/lars/src/vdr/vdr-2.0.3/include/vdr/menuitems.h:14,
from /home/lars/src/vdr/vdr-2.0.3/include/vdr/plugin.h:14,
from mcli.c:13:
/home/lars/src/vdr/vdr-2.0.3/include/vdr/device.h:331:16: error: 'virtual bool cDevice::HasLock(int) const' was hidden [-Werror=overloaded-virtual]
In file included from mcli.c:17:0:
device.h:51:15: error: by 'virtual bool cMcliDevice::HasLock(int)' [-Werror=overloaded-virtual]
cc1plus: some warnings being treated as errors
make1: *** [mcli.o] Error 1