Just wanted to add: I just compiled Code::Blocks SVN 7943 under Arch Linux x86_64 using the attached help_plugin_fix.patch and the "-fpermissive" compiler option with GCC 4.7.0. It appears to be working fine.

@headkase: Why are you adding the patch for every post? Keep in mind that the disk space for the forum is limited and attachments get deleted from time to time. So please don't abuse the attach feature of the forum.

@headkase: Why are you adding the patch for every post? Keep in mind that the disk space for the forum is limited and attachments get deleted from time to time. So please don't abuse the attach feature of the forum.

Ok, sorry, didn't realize that. Was just being a bit paranoid when the patch was lost for a bit with pastie.

Edit: I see SVN is now up to 7944. Compiling now with just "-fpermissive", when the compile is done in about 20 minutes will post if it succeeded or not.

Edit2: Code::Blocks SVN 7944 built successfully, in Arch Linux x86_64, under GCC 4.7.0 using only the "-fpermissive" compiler flag. Thank you very much oBFusCATed!

See: Here for the source of the patch that was posted. It was contributed by RevenantX so props to him and thanks to the credited source.

For the libstdc++ problem you need to recompile binutils and mingw-w64 api. use --enable-threads=posix and suddenly it worked damnest thing is all executables now need libwinpthread-0.dll (im gonna try if i can link it in statically).

Just a heads up.Got gcc 4.7.0 to work with win32 threads again and i rebuilt the trunk version of CodeBlocks with it, and it works it seems.I can upload the 4.7.0 build CodeBlocks if someone wants to test it.

For the libstdc++ problem you need to recompile binutils and mingw-w64 api. use --enable-threads=posix and suddenly it worked damnest thing is all executables now need libwinpthread-0.dll (im gonna try if i can link it in statically).

@ Morten. Only with the patches from here + -fpermissive in the compiler vars.@ Xunxun. Dont need pthreads anymore i got i working with win32 threads. Only need --disable-build-poststage1-with-cxx because g++ seems to have a bug with its system header composition (older versions of gcc used gcc for bootstrapping everything, 4.7.0 uses g++ from stage2 and forward). But agree if using --enable-threads=posix and winpthread static might be the better choice.