Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120082 - building widelands with gcc4.1 fails
Summary: building widelands with gcc4.1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-01-23 11:29 UTC by Konrad Campowsky
Modified: 2006-02-25 22:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to apply the patch (widelands-0.0.9.5.ebuild.patch,418 bytes, patch)
2006-01-23 11:32 UTC, Konrad Campowsky
Details | Diff
patch to make widelands build with gcc4.1 (widelands-0.0.9.5-gcc4.1.patch,304 bytes, patch)
2006-01-23 11:32 UTC, Konrad Campowsky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.