manio / vdr-plugin-dvbapi

VDR dvbapi plugin for use with OSCam
http://www.streamboard.tv/wbb2/thread.php?threadid=40060
GNU General Public License v2.0
58 stars 25 forks source link

Compile Error on Fedora 28 #127

Closed Sagestum closed 5 years ago

Sagestum commented 5 years ago

Sadly I am not able to compile this plugin anymore. Maybe it has something to do with the newer Version of gcc? Ubuntu using "gcc version 7.3.0" and compiling runs flawles, but fc28 on the other hand use "gcc-Version 8.1.1" and give this back:

g++ -O3 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection -fPIC -Werror=overloaded-virtual -Wno-parentheses -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DPLUGIN_NAME_I18N='"dvbapi"' -DGITVERSION='"-GIT-7d51cc4"' -o SCCAMSlot.o SCCAMSlot.cpp SCCAMSlot.cpp: In Konstruktor »SCCAMSlot::SCCAMSlot(SCCIAdapter*, int, int, cCamSlot*)«: SCCAMSlot.cpp:41:36: Fehler: keine passende Funktion für Aufruf von »cCamSlot::cCamSlot(SCCIAdapter*&, bool, cCamSlot*&)« , decsaFillControl(200000, 100, 40) ^ In file included from SCCAMSlot.cpp:27: /usr/include/vdr/ci.h:156:3: Anmerkung: candidate: »cCamSlot::cCamSlot(cCiAdapter*, bool)« cCamSlot(cCiAdapter *CiAdapter, bool WantsTsData = false); ^~~~~~~~ /usr/include/vdr/ci.h:156:3: Anmerkung: Kandidat erwartet 2 Argumente, 3 angegeben /usr/include/vdr/ci.h:128:7: Anmerkung: candidate: »constexpr cCamSlot::cCamSlot(const cCamSlot&)« class cCamSlot : public cListObject { ^~~~~~~~ /usr/include/vdr/ci.h:128:7: Anmerkung: Kandidat erwartet 1 Argument, 3 angegeben make: *** [Makefile:89: SCCAMSlot.o] Fehler 1