See title. This causes compile errors with anything that uses -fno-for-scope, such as openoffice. This patch needs to be applied (for those of you who've already installed GCC, you can just apply this against /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.0/include/g++-v3/bits/locale_facets.h) before attempts to get OOo compiling with 3.4.0 can even begin, as OOo requires the use of -fno-for-scope. Note that this doesn't regress anything as far as I can tell, it just fixes the behaviour of locale_facets.h when used with -fno-for-scope, and doesn't alter it when used with the default -ffor-scope. Reproducible: Always Steps to Reproduce: 1. See upstream bug for example problem code. Actual Results: It broke :-P Expected Results: It shouldn't have broke :-P Seriously, though - the error message is also upstream.
Created attachment 30159 [details, diff] Patch to fix behaviour of GCC 3.4.0 when used with -fno-for-scope
this is a toolchain bug, not a bug in an app that needs porting. thankyou for submitting this patch, i'll send a friend who is trying to get OO working on x86 to this bug and have him see if this helps. as for OO... i cant really help there, as OO doesnt even attempt to compile on amd64.
Sorry about that. This is obviously a toolchain bug rather than a gcc-porting one. I just clicked on "GCC 3" in the list without really thinking. I'm pushing quite hard trying to get OOo working on x86, but haven't had much luck as yet. I've managed to get round the STLport problems, granted, but I've not yet really got too far beyond that.
ok, i've committed the patch. it doesnt seem to break anything, so it cant hurt to include it. give it a little time to reach rsync.