rofafor / vdr-plugin-femon

Frontend Status Monitor plugin for the Video Disk Recorder (VDR)
http://www.saunalahti.fi/~rahrenbe/vdr/femon/
GNU General Public License v2.0
1 stars 3 forks source link

vdr-plugin-femon does not build with vdr-2.7.1 #7

Open madmartin opened 2 months ago

madmartin commented 2 months ago

Compiling femon plugin against vdr-2.7.1 fails:

femon.c: In member function ‘virtual cOsdObject* cPluginFemon::MainMenuAction()’:
femon.c:124:24: error: no matching function for call to ‘cControl::Control()’
  124 |   if (cControl::Control() || (Channels->Count() <= 0))
      |       ~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/vdr/dvbplayer.h:13,
                 from /usr/include/vdr/menu.h:17,
                 from femon.c:9:
/usr/include/vdr/player.h:129:20: note: candidate: ‘static cControl* cControl::Control(cMutexLock&, bool)’
  129 |   static cControl *Control(cMutexLock &MutexLock, bool Hidden = false);
      |                    ^~~~~~~
/usr/include/vdr/player.h:129:20: note:   candidate expects 2 arguments, 0 provided

The changelog of vdr-2.7.1 says:

rofafor commented 2 months ago

Sorry, I don't have any vdr hardware available at this time and therefore my vdr related projects has been living in suspended mode for a few years already. Please, don't hold your breath for a fix unless someone sends a pull request