Is anyone on windows having code completion lockup or crash on plugin disable?
Here's a patch that seemed to fix it under windows for me.
(note, I am running with __WXDEBUG__ defined in my builds linked to wx2.6.3p2 debug libs)
Index: src/plugins/codecompletion/classbrowserbuilderthread.cpp
===================================================================
--- src/plugins/codecompletion/classbrowserbuilderthread.cpp (revision 3614)
+++ src/plugins/codecompletion/classbrowserbuilderthread.cpp (working copy)
@@ -104,10 +104,12 @@
if (TestDestroy() || Manager::IsAppShuttingDown())
{
+#ifdef __WXGTK__
if(!::wxIsMainThread())
{
::wxMutexGuiLeave();
}
+#endif // __WXGTK__
break;
}
The wxMutexGuiLeave is being called without an wxMutexGuiEnter being called. (wxMutexGuiEnter is only called if __WXGTK__ is defined.)
Submitted as [ Patch #1890 ] Code Completion disable on windows crashes
https://developer.berlios.de/patch/?func=detailpatch&patch_id=1890&group_id=5358
Tim S
While trying to compile svn 3615 I get following error:
-------------- Build: sdk in Code::Blocks ---------------
Running target pre-build steps
build_tools/autorevision/autorevision +int +t . include/autorevision.h
Compiling: sdk\filemanager.cpp
D:\Projektai\CodeBlocks\src\sdk\filemanager.cpp:90: error: redefinition of `FileManager::FileManager()'
D:\Projektai\CodeBlocks\src\sdk\/filemanager.h:151: error: `FileManager::FileManager()' previously defined here
D:\Projektai\CodeBlocks\src\sdk\filemanager.cpp:98: error: definition of implicitly-declared `virtual FileManager::~FileManager()'
Process terminated with status 1 (0 minutes, 4 seconds)
3 errors, 0 warnings
Last svn version I managed to compile was 3596.
Can anyone help me with this?