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
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.