Project

General

Profile

Feature #2463 » compile_error_targavfd_vdr232.txt

fnu, 01/22/2017 02:06 AM

 
/usr/include/vdr/font.h:48:15: error: ?virtual int cFont::Width() const? was hidden [-Werror=overloaded-virtual]
virtual int Width(void) const = 0;
^
In file included from vfd.c:23:0:
ffont.h:78:15: error: by ?cVFDFont::Width? [-Werror=overloaded-virtual]
virtual int Width(const char *s) const;
^
vfd.c: In member function ?virtual bool cVFD::SetFont(const char*, bool, int, int)?:
vfd.c:613:56: error: invalid new-expression of abstract class type ?cVFDFont?
tmpFont = new cVFDFont(sFileName,nSmallFontHeight);
^
In file included from vfd.c:23:0:
ffont.h:60:7: note: because the following virtual functions are pure within ?cVFDFont?:
class cVFDFont : public cFont {
^
In file included from /usr/include/vdr/config.h:20:0,
from /usr/include/vdr/channels.h:13,
from /usr/include/vdr/device.h:13,
from /usr/include/vdr/dvbdevice.h:15,
from /usr/include/vdr/menuitems.h:14,
from setup.h:17,
from vfd.c:22:
/usr/include/vdr/font.h:48:15: note: virtual int cFont::Width() const
virtual int Width(void) const = 0;
^
vfd.c:615:54: error: invalid new-expression of abstract class type ?cVFDFont?
tmpFont = new cVFDFont(sFileName,nBigFontHeight);
^
    (1-1/1)