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

wx2.9 compatibility

<< < (3/4) > >>

daniloz:

--- Quote from: oBFusCATed on December 11, 2010, 04:22:44 pm ---CC crashes even with wx2.8

--- End quote ---

What does that mean? If this is a known bug, is there any workaround? Any other wx version that could be used?

oBFusCATed:
Means that the problem is in CC not in the wx version:)

Loaden:

--- Quote from: oBFusCATed on December 11, 2010, 10:25:31 pm ---Means that the problem is in CC not in the wx version:)

--- End quote ---
No! It's wx problem, not CC.
If you apply this patch, then CC works well in wx-2.9.

--- Code: ---Index: src/plugins/codecompletion/nativeparser.cpp
===================================================================
--- src/plugins/codecompletion/nativeparser.cpp (revision 6895)
+++ src/plugins/codecompletion/nativeparser.cpp (working copy)
@@ -480,6 +480,7 @@
 
 void NativeParser::CreateClassBrowser()
 {
+    return; // avoid cc crash when use wx-2.9
     ConfigManager* cfg = Manager::Get()->GetConfigManager(_T("code_completion"));
     if (!m_ClassBrowser && cfg->ReadBool(_T("/use_symbols_browser"), true))
     {

--- End code ---

oBFusCATed:
I'm using CC with 2.8 and it crashes sometimes, it is not too annoying, so I've not tried to catch it :)

daniloz:
I am also using CC with 2.8.10 and it crashes or freezes from time to time. I have the impression that it is happening more often now... I have catch a few crashes and freezes and posted in this thread: http://forums.codeblocks.org/index.php/topic,13777.0.html

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version