Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
gcc4.7 can't build codeblocks
reckless:
Ill give it a go thanks :)
Note allready linking libstdc++ static.
Besides the initialization problem it builds just fine.
stahta01:
EDIT: Found link to patch in this thread http://pastie.org/pastes/3781948
I will try it and see if it is all that is needed for Windows Build fix.
EDit2: It fixed it for the Windows Build of contrib help plugin.
Has anyone gotten the contrib help plugin to build?
It did not compile without errors even after I added the "-fpermissive" option to it.
The other contrib plugins compiled successfully.
Tim S.
headkase:
Did anyone save that pastie help_plugin.patch? Pastie is dead. Their pansy host pulled the plug on them.
stahta01:
--- Quote from: headkase on April 25, 2012, 08:35:05 am ---Did anyone save that pastie help_plugin.patch? Pastie is dead. Their pansy host pulled the plug on them.
--- End quote ---
--- Code: ---Index: src/plugins/contrib/help_plugin/man2html.cpp
===================================================================
--- src/plugins/contrib/help_plugin/man2html.cpp (revision 7939)
+++ src/plugins/contrib/help_plugin/man2html.cpp (working copy)
@@ -123,7 +123,7 @@
#include <ctype.h>
-//#include <unistd.h>
+#include <unistd.h>
#include <string.h>
#include <stdio.h>
--- End code ---
--- Code: ---Index: src/plugins/contrib/help_plugin/defs.h
===================================================================
--- src/plugins/contrib/help_plugin/defs.h (revision 7939)
+++ src/plugins/contrib/help_plugin/defs.h (working copy)
@@ -289,7 +289,7 @@
if (i.second == false && overwrite)
{
- find(k)->second = t;
+ this->find(k)->second = t;
}
return i.first;
--- End code ---
headkase:
Thank you stahta01, I'll also attach it here for good measure!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version