Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 227133

Summary: vdr-weatherng-0.0.8_pre3 fails to compile w/ gcc-4.3
Product: Gentoo Linux Reporter: Michael Brakemeier <michael>
Component: [OLD] GCC PortingAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED FIXED    
Severity: normal CC: media-tv
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: include <sys/types.h> for typedef'ed uint
ebuild w/ sys-types-patch

Description Michael Brakemeier 2008-06-15 10:48:09 UTC
g++ -march=pentium-m -mtune=pentium-m -O3 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_DDEPGENTRY -DUSE_DVBSETUP -DUSE_DVLVIDPREFER -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_OSDMAXITEMS -DUSE_PLUGINMISSING -DUSE_TIMERINFO -DUSE_WAREAGLEICON -DHAVE_IMLIB2 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weatherng"' -I/usr/include -I/usr/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: *** [bitmap.o] Error 1
 *
 * ERROR: media-plugins/vdr-weatherng-0.0.8_pre3 failed.


Reproducible: Always

Steps to Reproduce:
1. emerge vdr-weatherng
2.
3.
Comment 1 Michael Brakemeier 2008-06-15 11:03:20 UTC
Created attachment 156851 [details, diff]
include <sys/types.h> for typedef'ed uint
Comment 2 Michael Brakemeier 2008-06-15 11:04:27 UTC
Created attachment 156853 [details]
ebuild w/ sys-types-patch
Comment 3 Michael Brakemeier 2008-06-15 11:08:54 UTC
Corrected summary to match pkgname.
Comment 4 Joerg Bornkessel (RETIRED) gentoo-dev 2008-06-15 21:33:34 UTC
fixed

Thanks Berti :)