Project

General

Profile

Actions

Support #75

open

Plugin don't compile

Added by Anonymous over 15 years ago. Updated over 15 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Start date:
01/28/2009
Due date:
01/28/2009 (over 15 years late)
% Done:

0%

Estimated time:

Description

i can't compile the plugin. :(

gcc breaks with followig error:

vdr02 yaepghd # make 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:554: Fehler: wrong type argument to bit-complement
yaepghd.c:555: Fehler: ungültige Operanden der Typen »double« und »int« für binäres »operator<<«
yaepghd.c:556: Fehler: ungültige Operanden der Typen »double« und »int« für binäres »operator<<«
make: *** [yaepghd.o] Fehler 1
vdr02 yaepghd #

OS: gentoo 2008.0
Kernel: 2.6.26-gentoo-r3
VDR: 1.7.0

vdr02 yaepghd # gcc v
Es werden eingebaute Spezifikationen verwendet.
Ziel: i686-pc-linux-gnu
Konfiguriert mit: /mnt/data/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable
__cxa_atexit --enable-clocale=gnu
Thread-Modell: posix
gcc-Version 4.1.2 (Gentoo 4.1.2 p1.1)
vdr02 yaepghd #

Actions #1

Updated by bball over 15 years ago

  • Status changed from New to Assigned

Can you try adding "int" casts such as the following:

            tColor col = (~(int)(pix->opacity * 255 / MaxRGB) << 24) |
                          ((int)(pix->red * 255 / MaxRGB) << 16) |
                          ((int)(pix->green * 255 / MaxRGB) << 8) |
                           (pix->blue * 255 / MaxRGB);
Actions

Also available in: Atom PDF