QuoteOriginal von burki
Hi Uwe,
die 0.0.8c laesst sich mit einem vdr 1.3.22 nicht mehr compilieren:Coderadio.c: In member function `virtual cString cPluginRadio::SVDRPCommand(const char*, const char*, int&)': radio.c:492: error: 'class cString' has no member named 'sprintf' radio.c:496: error: 'class cString' has no member named 'sprintf' radio.c:499: error: 'class cString' has no member named 'sprintf' radio.c:504: error: 'class cString' has no member named 'sprintf' radio.c:507: error: 'class cString' has no member named 'sprintf' make[1]: *** [radio.o] Fehler 1
Da fehlt wohl ein ifdef ...
Ach Mist, immer diese 'alten' Versionen
Ungetestet, Aufnahme läuft...:
Diff
--- radio.c.org 2005-09-12 18:51:01.000000000 +0200
+++ radio.c 2005-09-12 20:46:18.000000000 +0200
@@ -485,6 +485,7 @@
cString cPluginRadio::SVDRPCommand(const char *Command, const char *Option, int &ReplyCode)
{
+#if VDRVERSNUM >= 10331
if (strcasecmp(Command, "RTINFO") == 0) {
// we use the default reply code here
if (RT_Info == 2) {
@@ -507,6 +508,7 @@
return cString::sprintf("RT-OSD will be closed now");
}
}
+#endif
return NULL;
}
Display More