User forums > Nightly builds

The 04 November 2007 build (4596) is out.

<< < (5/8) > >>

stahta01:
Patch needed to compile on Windows with no PCH.

Tim S


--- Code: ---Index: src/plugins/contrib/devpak_plugin/mytar.h
===================================================================
--- src/plugins/contrib/devpak_plugin/mytar.h (revision 4601)
+++ src/plugins/contrib/devpak_plugin/mytar.h (working copy)
@@ -4,6 +4,8 @@
 #include <wx/string.h>
 #include <wx/dynarray.h>
 
+class wxArrayString;
+
 struct Replacers
 {
     wxString from;
Index: src/plugins/debuggergdb/debuggeroptionsprjdlg.cpp
===================================================================
--- src/plugins/debuggergdb/debuggeroptionsprjdlg.cpp (revision 4601)
+++ src/plugins/debuggergdb/debuggeroptionsprjdlg.cpp (working copy)
@@ -31,6 +31,7 @@
 #include <wx/listbox.h>
 #include <wx/button.h>
 #include <wx/choice.h>
+#include <wx/checkbox.h>
 #include <cbproject.h>
 #include <editpathdlg.h>
 #include <manager.h>
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp (revision 4601)
+++ src/src/main.cpp (working copy)
@@ -60,6 +60,7 @@
 #include <annoyingdialog.h>
 #include <editorcolourset.h>
 #include <logmanager.h>
+#include <personalitymanager.h>
 
 #include "infopane.h"
 #include "dlgaboutplugin.h"

--- End code ---

Mc.Michael:
CB crash

CB rev 4601

mingw 4.2.1-dw2 , winapi 3.10
win2k3sp2, wxwidgets 2.8.6
codeblocks.RPT file:

--- Code: ----------------------

Error occured on Wednesday, November 7, 2007 at 23:37:00.

D:\michael\dev\app\cb\codeblocks.exe caused an Access Violation at location 66fe7f79 in module D:\michael\dev\app\cb\wxsmithlib.dll Reading from location 00000028.

Registers:
eax=00000000 ebx=029460b0 ecx=61493ad0 edx=00000000 esi=029460b0 edi=029463ec
eip=66fe7f79 esp=0022f880 ebp=0022f888 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202

Call stack:
66FE7F79  D:\michael\dev\app\cb\wxsmithlib.dll:66FE7F79  _ZN14wxPropertyGrid5Init1Ev
66FEA7BB  D:\michael\dev\app\cb\wxsmithlib.dll:66FEA7BB  _ZN14wxPropertyGridC1Ev
66FF5B9C  D:\michael\dev\app\cb\wxsmithlib.dll:66FF5B9C  _ZNK21wxPropertyGridManager18CreatePropertyGridEv
66FF3B31  D:\michael\dev\app\cb\wxsmithlib.dll:66FF3B31  _ZN21wxPropertyGridManager5Init1Ev
66FF709D  D:\michael\dev\app\cb\wxsmithlib.dll:66FF709D  _ZN21wxPropertyGridManagerC2EP8wxWindowiRK7wxPointRK6wxSizelPKw
66F45746  D:\michael\dev\app\cb\wxsmithlib.dll:66F45746  _ZN22wxsPropertyGridManagerC1EP8wxWindowiRK7wxPointRK6wxSizelPKw
66F4B306  D:\michael\dev\app\cb\wxsmithlib.dll:66F4B306  _ZN7wxSmith8OnAttachEv
0051EBDE  D:\michael\dev\app\cb\codeblocks.dll:0051EBDE  _ZN8cbPlugin6AttachEv
00578478  D:\michael\dev\app\cb\codeblocks.dll:00578478  _ZN13PluginManager12AttachPluginEP8cbPluginb
005787A6  D:\michael\dev\app\cb\codeblocks.dll:005787A6  _ZN13PluginManager14LoadAllPluginsEv
0041D5F6  D:\michael\dev\app\cb\codeblocks.exe:0041D5F6
00422CD2  D:\michael\dev\app\cb\codeblocks.exe:00422CD2
00402F57  D:\michael\dev\app\cb\codeblocks.exe:00402F57
00404099  D:\michael\dev\app\cb\codeblocks.exe:00404099
0043B64B  D:\michael\dev\app\cb\codeblocks.exe:0043B64B  _ZN12cbToolPlugin9BuildMenuEP9wxMenuBar
614B709A  D:\michael\dev\app\cb\wxmsw28u_gcc_mware.dll:614B709A  _Z12wxInitializeiPPw
61512048  D:\michael\dev\app\cb\wxmsw28u_gcc_mware.dll:61512048  _Z7wxEntryP11HINSTANCE__S0_Pci
00403814  D:\michael\dev\app\cb\codeblocks.exe:00403814
00436578  D:\michael\dev\app\cb\codeblocks.exe:00436578
0040124B  D:\michael\dev\app\cb\codeblocks.exe:0040124B
004012B8  D:\michael\dev\app\cb\codeblocks.exe:004012B8
77E6F23B  C:\WINDOWS\system32\kernel32.dll:77E6F23B  ProcessIdToSessionId

--- End code ---

stahta01:
Try this patch. wxPropertyGrid must be compiled with wxPG_USE_WXMODULE defined to 0.
If not, wxPropertyGrid crashed this was true several months ago; it might have changed.

Edit: It fixes the crash for me.

Tim S


Index: src/plugins/contrib/wxSmith/wxSmith.cbp
===================================================================
--- src/plugins/contrib/wxSmith/wxSmith.cbp   (revision 4602)
+++ src/plugins/contrib/wxSmith/wxSmith.cbp   (working copy)
@@ -15,6 +15,9 @@
             <Option type="2" />
             <Option compiler="gcc" />
             <Option createDefFile="1" />
+            <Compiler>
+               <Add option="-DwxPG_USE_WXMODULE=0" />
+            </Compiler>
          </Target>
          <Target title="wxSmithLib">
             <Option platforms="Windows;" />

Mc.Michael:

--- Quote from: stahta01 on November 08, 2007, 05:13:31 am ---Try this patch. wxPropertyGrid must be compiled with wxPG_USE_WXMODULE defined to 0.
If not, wxPropertyGrid crashed this was true several months ago; it might have changed.

Edit: It fixes the crash for me.

--- End quote ---

thank you. all o.k.

cfdev:
Slackware Package svn4596 with wxWidgets 2.8.5
is avaible HERE

++

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version