User forums > Nightly builds

The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.

<< < (2/2)

stahta01:
FYI: I tried passing the option "-p=xml_deft" to a self Compiled XML Compiler branch and it crashed because the personality file did not exist.
Once I copied "default.conf" to  "xml_deft.conf" the passed option worked.

Windows 7 32 bit SP1

CB SVN 8556

Note: I am doing wxWidgets 2.9 based CB builds using wxWidgets trunk using C++ option -std=gnu++11; in case that makes a difference.

Tim S.

Alpha:
Thanks for the report.  I will see if I can reproduce the issue.

What compiler did you use?
Does it crash immediately on launch, or after some loading?
If you pass the same options to a trunk build (that is also built with wx29 and -std=gnu++11), does the same crash occur?

stahta01:

--- Quote from: Alpha on November 23, 2012, 03:32:44 pm ---Thanks for the report.  I will see if I can reproduce the issue.

What compiler did you use?
Does it crash immediately on launch, or after some loading?
If you pass the same options to a trunk build (that is also built with wx29 and -std=gnu++11), does the same crash occur?

--- End quote ---

I have not yet had time to do more testing.
I compile wxWidgets 2.9 last night; should have time to work on it in a few days.


Patch I applied to get CB to compile with wxWidgets 2.9 trunk; not sure if the patch is the best solution.
Turns out that in wxWidgets 2.9 the header wx/xrc/xmlres.h no longer includes two other headers as a side effect.
These being "wx/xml/xml.h" and "wx/control.h" (the control.h is via the header wx/animate.h included by xmlres.h ).

Tim S.

I think this portion makes sense.


--- Code: ---Index: src/include/sdk_common.h
===================================================================
--- src/include/sdk_common.h (revision 8587)
+++ src/include/sdk_common.h (working copy)
@@ -96,6 +96,7 @@
     #include <wx/utils.h>
     #include <wx/wfstream.h>
     #include <wx/wxscintilla.h>
+    #include <wx/xml/xml.h>
     #include <wx/xrc/xmlres.h>
 
     // basic headers

--- End code ---

This portion does not really make sense to me.

--- Code: ---Index: src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/xh_kwxangularregulatorhandler.h
===================================================================
--- src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/xh_kwxangularregulatorhandler.h (revision 8587)
+++ src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/xh_kwxangularregulatorhandler.h (working copy)
@@ -25,6 +25,7 @@
 #ifndef XH_KWXANGULAREGULATORHANDLER_H_INCLUDED
 #define XH_KWXANGULAREGULATORHANDLER_H_INCLUDED
 
+#include <wx/control.h>
 #include <wx/xrc/xmlres.h>
 
 class kwxAngularRegulatorHandler : public wxXmlResourceHandler
Index: src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/xh_kwxlinearregulatorhandler.h
===================================================================
--- src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/xh_kwxlinearregulatorhandler.h (revision 8587)
+++ src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/xh_kwxlinearregulatorhandler.h (working copy)
@@ -25,6 +25,7 @@
 #ifndef XH_KWXLINEAREGULATORHANDLER_H_INCLUDED
 #define XH_KWXLINEAREGULATORHANDLER_H_INCLUDED
 
+#include <wx/control.h>
 #include <wx/xrc/xmlres.h>
 
 class kwxLinearRegulatorHandler : public wxXmlResourceHandler

--- End code ---

Alpha:
I have not yet been able to reproduce this crash... are you still experiencing it?

Navigation

[0] Message Index

[*] Previous page

Go to full version