Support #79
openPlugin don't compile 2
0%
Description
Sorry, but i can't edit Ticket 75 --> http://projects.vdr-developer.org/issues/show/75
therefore i opend a new one.. maybe you can merge it.
i've added the adding "int" casts, but now gcc breaks hier:
vdr02 yaepghd # make clean all
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -DUSE_ANALOGTV -DUSE_ATSC -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_CUTTERLIMIT -DUSE_CUTTERQUEUE -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DELTIMESHIFTREC -DUSE_DOLBYINREC -DUSE_DVBSETUP -DUSE_DVDARCHIVE -DUSE_DVLRECSCRIPTADDON -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_EM84XX -DUSE_GRAPHTFT -DUSE_HARDLINKCUTTER -DUSE_IPTV -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_LIRCSETTINGS -DUSE_LIVEBUFFER -DUSE_LNBSHARE -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NOEPG -DUSE_OSDMAXITEMS -DUSE_PINPLUGIN -DUSE_PLUGINMISSING -DUSE_ROTOR -DUSE_SETTIME -DUSE_SOURCECAPS -DUSE_SORTRECORDS -DUSE_TIMERCMD -DUSE_TIMERINFO -DUSE_TTXTSUBS -DUSE_VALIDINPUT -DUSE_VOLCTRL -DUSE_WAREAGLEICON -DUSE_YAEPG -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"yaepghd"' -I/usr/local/src/DVB/linux/include -I../../../include -I/usr/include/ImageMagick -I. yaepghd.c
yaepghd.c: In member function »int cYaepgTheme::LoadImage(char*)«:
yaepghd.c:557: Fehler: expected `)' before »;« token
yaepghd.c:557: Fehler: ungültige Operanden der Typen »int« und »double« für binäres »operator|«
make: *** [yaepghd.o] Fehler 1
vdr02 yaepghd #
Updated by bball almost 16 years ago
Try pulling the latest git source, I added the (int) casts to the code and it compiles fine on my machine.