Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

gcc4.7 can't build codeblocks

<< < (8/12) > >>

oBFusCATed:
Does this patch work on windows or the help plugin is not compiled there?

stahta01:

--- Quote from: oBFusCATed on April 25, 2012, 11:33:09 pm ---Does this patch work on windows or the help plugin is not compiled there?

--- End quote ---

It fixes the compile errors under windows (on the help plugin) that are left after the "-fpermissive" option is used.

Tested with un-official MinGW (nuwen.net) GCC version 4.7 under windows 7 32 bit wxWidgets 2.8 branch.

Tim S.

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

Edit: removed attachment.

oBFusCATed:
In svn...

@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:

--- Quote from: oBFusCATed on April 26, 2012, 01:13:32 am ---In svn...

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

--- End quote ---

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.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version