Summary: | Wormux fails to build with gcc4.1 (extra qualification on member) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Konrad Campowsky <frollen> |
Component: | [OLD] GCC Porting | Assignee: | 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 make the wormux ebuild apply the gcc4.1 patch
patch to make wormux build with gcc4.1 |
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 »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. Created attachment 77929 [details, diff]
patch to make the wormux ebuild apply the gcc4.1 patch
Created attachment 77930 [details, diff]
patch to make wormux build with gcc4.1
Looks good. Did you send the patch upstream? Fixed, thanks. |