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

Bug 120082

Summary: building widelands with gcc4.1 fails
Product: Gentoo Linux Reporter: Konrad Campowsky <frollen>
Component: [OLD] GCC PortingAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: halcy0n
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    
Attachments: patch to apply the patch
patch to make widelands build with gcc4.1

Description Konrad Campowsky 2006-01-23 11:29:27 UTC
When building Widelands, gcc 4.1 complains about some
constructs of the following form:

class X {
void X::someFunc();
};

while it should of course just read:

class X {
void someFunc();
};

I made a patchset
which changes just that and
nothing of the actual code 
and thus should be quite safe to use.
Comment 1 Konrad Campowsky 2006-01-23 11:32:25 UTC
Created attachment 77933 [details, diff]
patch to apply the patch
Comment 2 Konrad Campowsky 2006-01-23 11:32:53 UTC
Created attachment 77934 [details, diff]
patch to make widelands build with gcc4.1
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-01-23 20:40:50 UTC
Looks find.  Did you send this upstream?
Comment 4 Florian Weber 2006-01-27 08:24:18 UTC
Haven't seen it yet. Fixed in CVS though. Thanks for finding this.

I suggest declaring this bug as fixed.
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2006-02-25 22:45:20 UTC
fixed, thanks.