Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120078 - Wormux fails to build with gcc4.1 (extra qualification on member)
Summary: Wormux fails to build with gcc4.1 (extra qualification on member)
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 10:39 UTC by Konrad Campowsky
Modified: 2006-02-25 22:18 UTC (History)
1 user (show)

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


Attachments
patch to make the wormux ebuild apply the gcc4.1 patch (wormux-0.5.1.ebuild.patch,373 bytes, patch)
2006-01-23 10:41 UTC, Konrad Campowsky
Details | Diff
patch to make wormux build with gcc4.1 (wormux-0.5.1-gcc4.1.patch,557 bytes, patch)
2006-01-23 10:41 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 10:39:27 UTC
When building Wormux, 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();
};

The corresponding error messages are:

game/../tool/xml_document.h:45: Fehler: extra qualification 
Comment 1 Konrad Campowsky 2006-01-23 10:39:27 UTC
When building Wormux, 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();
};

The corresponding error messages are:

game/../tool/xml_document.h:45: Fehler: extra qualification »LitDocXml::« on Member »LitListeString«
game/../map/maps_list.h:54: Fehler: extra qualification »InfoTerrain::« on member »LitImgTerrain«
game/../map/maps_list.h:55: Fehler: extra qualification »InfoTerrain::« on member »LitImgCiel«
game/../team/../tool/xml_document.h:45: Fehler: extra qualification »LitDocXml::« on member »LitListeString«

I made a patchset
which changes just that and
nothing of the actual code 
and thus should be quite safe to use.
Comment 2 Konrad Campowsky 2006-01-23 10:41:02 UTC
Created attachment 77929 [details, diff]
patch to make the wormux ebuild apply the gcc4.1 patch
Comment 3 Konrad Campowsky 2006-01-23 10:41:35 UTC
Created attachment 77930 [details, diff]
patch to make wormux build with gcc4.1
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-01-23 20:39:52 UTC
Looks good.  Did you send the patch upstream?
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2006-02-25 22:18:52 UTC
Fixed, thanks.