ho problemi a compilare questo plugin, penso sempre sia legato al compilatore gcc 4.3.
Codice: Seleziona tutto
Plugin weatherng:
make[1]: Entering directory `/vdr/vdr-1.6.0/PLUGINS/src/weatherng-0.0.10'
make[1]: Leaving directory `/vdr/vdr-1.6.0/PLUGINS/src/weatherng-0.0.10'
make[1]: Entering directory `/vdr/vdr-1.6.0/PLUGINS/src/weatherng-0.0.10'
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_CUTTERLIMIT -DUSE_CUTTERQUEUE -DUSE_CUTTIME -DUSE_DELTIMESHIFTREC -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_DVBPLAYER -DUSE_DVBSETUP -DUSE_DVDARCHIVE -DUSE_DVLRECSCRIPTADDON -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_GRAPHTFT -DUSE_HARDLINKCUTTER -DUSE_IPTV -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_LIVEBUFFER -DUSE_LNBSHARE -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_OSDMAXITEMS -DUSE_PINPLUGIN -DUSE_PLUGINMISSING -DUSE_ROTOR -DUSE_SETTIME -DUSE_SOURCECAPS -DUSE_SORTRECORDS -DUSE_SYNCEARLY -DUSE_TIMERCMD -DUSE_TIMERINFO -DUSE_TTXTSUBS -DUSE_VALIDINPUT -DUSE_WAREAGLEICON -DUSE_YAEPG -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weatherng"' -I../../../include -obitmap.o bitmap.c
In file included from bitmap.h:8,
from bitmap.c:5:
imagecache.h:22: error: 'uint' does not name a type
imagecache.h:29: error: expected `)' before 'MaxItems'
imagecache.h:36: error: 'uint' does not name a type
imagecache.h:46: error: expected constructor, destructor, or type conversion before '(' token
imagecache.h: In member function 'data_type& cxCache<key_type, data_type>::operator[](const key_type&)':
imagecache.h:91: error: 'mMaxItems' was not declared in this scope
In file included from bitmap.c:5:
bitmap.h: In constructor 'cBitmapCache::cBitmapCache(uint)':
bitmap.h:58: error: no matching function for call to 'cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache(uint&)'
imagecache.h:13: note: candidates are: cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache()
imagecache.h:13: note: cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache(const cxCache<tBitmapSpec, cWeatherBitmap*>&)
make[1]: *** [bitmap.o] Error 1
make[1]: Leaving directory `/vdr/vdr-1.6.0/PLUGINS/src/weatherng-0.0.10'
Grazie