Bug #918
closedCan't compile plugin under vdr 1.7.27
100%
Description
Hallo,
es kommt mit vdr-1.7.27 zu einem Fehler beim bauen des Plugins.
osdteletext # make all g++ -O2 -g -Wall -Werror -Woverloaded-virtual -fPIC -DPIC -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include osdteletext.c g++ -O2 -g -Wall -Werror -Woverloaded-virtual -fPIC -DPIC -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include menu.c g++ -O2 -g -Wall -Werror -Woverloaded-virtual -fPIC -DPIC -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include txtfont.c g++ -O2 -g -Wall -Werror -Woverloaded-virtual -fPIC -DPIC -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DPLUGIN_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include txtrecv.c txtrecv.c: In constructor âcTxtReceiver::cTxtReceiver(int, tChannelID, bool, Storage*)â: txtrecv.c:531:80: error: no matching function for call to âcReceiver::cReceiver(tChannelID&, int, int&)â ../../../include/vdr/receiver.h:46:3: note: candidates are: cReceiver::cReceiver(const cChannel*, int) ../../../include/vdr/receiver.h:19:17: note: cReceiver::cReceiver(const cReceiver&) make: *** [txtrecv.o] Error 1
[[http://www.vdr-portal.de/board1-news/board2-vdr-news/p1061467-announce-vdr-developer-version-1-7-27/#post1061467]]
Files
Updated by Uwe over 12 years ago
Der User rofafor hat im VDR Portal einen Patch zum Plugin gepostet. Damit funktioniert nun wieder osdteletext unter vdr-1.7.27!
[[http://www.vdr-portal.de/board1-news/board2-vdr-news/p1061469-announce-vdr-developer-version-1-7-27/#post1061469]]
Updated by urig over 12 years ago
- File receiver-fix-2.diff receiver-fix-2.diff added
Zumindest das Durchreichen an cReceiver sollte noch einen ifdef-Wrapper bekommen, da dieser Aufruf erst seit 1.7.12 existiert. Außerdem scheint mir der TPid-Parameter jetzt überflüssig zu sein.
So wie im Anhang etwa sollte gehen. (ungetestet)
Updated by urig over 12 years ago
- File receiver-fix-3.diff receiver-fix-3.diff added
Fixed version of the patch, as the cReceiver automatically adds unneeded PIDs. Need to clean these. Credit for this fix goes to nox and gda from vdr-portal.
Updated by urig over 12 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset b38af9121cc2c288473ba4239585cefb5f9b0f93.