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.
Created attachment 77933 [details, diff] patch to apply the patch
Created attachment 77934 [details, diff] patch to make widelands build with gcc4.1
Looks find. Did you send this upstream?
Haven't seen it yet. Fixed in CVS though. Thanks for finding this. I suggest declaring this bug as fixed.
fixed, thanks.