When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.
@ Morten. Only with the patches from here + -fpermissive in the compiler vars.
Quote from: reckless on May 19, 2012, 09:44:14 am@ Morten. Only with the patches from here + -fpermissive in the compiler vars.What patches are left? The help-plugin is up-to-date. Is there something else missing?
http://forums.codeblocks.org/index.php/topic,16039.msg109945.html#msg109945
The help-plugin is up-to-date.
-fpermissive can't fix all things (especially in contrib plugins), maybe you can try SharkCZ's patches.Hope Jens will fix soon.
commit e70c8a008439072718760876b048deae1ec74c27Author: Jens Lody <jens@codeblocks.org>Date: Mon Aug 6 23:30:49 2012 +0200 * gcc 4.7 fixesIndex: src/include/scripting/bindings/sc_base_types.h===================================================================--- src/include/scripting/bindings/sc_base_types.h+++ src/include/scripting/bindings/sc_base_types.h@@ -33,6 +33,7 @@ DECLARE_INSTANCE_TYPE(wxPoint); DECLARE_INSTANCE_TYPE(wxSize); DECLARE_INSTANCE_TYPE(wxString);+using SqPlus::GetTypeName; // C::B primitives and types DECLARE_INSTANCE_TYPE(ConfigManager); DECLARE_INSTANCE_TYPE(EditorManager);@@ -59,6 +60,7 @@ namespace SqPlus \ inline T Get(TypeWrapper<T>,HSQUIRRELVM v,int idx) { SQInteger i; SQPLUS_CHECK_GET(sq_getinteger(v,idx,&i)); return (T)i; } \ }+using SqPlus::Push; DECLARE_ENUM_TYPE(wxPathFormat); DECLARE_ENUM_TYPE(wxPathNormalize); DECLARE_ENUM_TYPE(PrintColourMode);Index: src/plugins/contrib/codesnippets/codesnippets.cpp===================================================================--- src/plugins/contrib/codesnippets/codesnippets.cpp+++ src/plugins/contrib/codesnippets/codesnippets.cpp@@ -93,7 +93,6 @@ CodeSnippets::CodeSnippets() m_bMouseLeftKeyDown = false; m_bMouseIsDragging = false; m_bDragCursorOn = false;- m_pDragCursor = false; m_MouseDownX = m_MouseDownY = 0; m_MouseUpX = m_MouseUpY = 0; #if !wxCHECK_VERSION(2, 8, 12)Index: src/plugins/contrib/help_plugin/defs.h===================================================================--- src/plugins/contrib/help_plugin/defs.h+++ src/plugins/contrib/help_plugin/defs.h@@ -297,7 +297,7 @@ class QMap : public std::map<Key, T> int remove(const Key &k) {- return erase(k);+ return this->erase(k); } };Index: src/plugins/debuggergdb/gdb_driver.cpp===================================================================--- src/plugins/debuggergdb/gdb_driver.cpp+++ src/plugins/debuggergdb/gdb_driver.cpp@@ -82,6 +82,7 @@ static wxRegEx reInferiorExited2(wxT("^\\[[Ii]nferior[ \\t].+[ \\t]exited[ \\t]w wxRE_EXTENDED); // scripting support+using SqPlus::Push; DECLARE_INSTANCE_TYPE(GDB_driver); GDB_driver::GDB_driver(DebuggerGDB* plugin)
After many fixes from killerbot to silent warnings on gcc4.7 and a pm from him, it looks like I found a solution for the "-fpermissive"-desaster:
Quote from: jens on August 07, 2012, 12:31:35 amAfter many fixes from killerbot to silent warnings on gcc4.7 and a pm from him, it looks like I found a solution for the "-fpermissive"-desaster:Is this the same you posted in the other thread?
m_pDragCursor = 0;
you just removed : m_pDragCursor = false;Now the member is not init-ed ==> Code m_pDragCursor = 0;
m_pDragCursor = new wxCursor(wxCURSOR_HAND);
And to be really nice : all of them could have been done in the initializer list :-)But that's another story.
Let's give people time to object to the patch till this evening ?
C::B should compile without -fpermissive now.