Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on October 24, 2012, 12:06:10 am

Title: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
Post by: killerbot on October 24, 2012, 12:06:10 am
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works (http://forums.codeblocks.org/index.php/topic,3232.0.html).

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx2812_gcc452-TDM.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10_gcc452-TDM.7z

The 23 October 2012 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20121023_rev8478_XML_COMPILER_BRANCH_win32.7z
  - Linux :
   none

PLEASE BACKUP YOUR EXISTING DEFAULT.CONF !!!
So in case you want to switch back to the regular nightly, then you can restore your default.conf.

THIS IS A SPECIAL TEST BUILD OF REFACTORINGS CARRIED OUT ON THE XML COMPILER BRANCH IN OUR SVN.
FOCUS IS ON IMPROVED COMPILER SETTINGS THROUGH INDEPENDENT XML FILES INSTEAD OF THE BIG DEFAULT.CONF.

Give your feedback on this version only in this thread, don't mix it with the regular nightly please. If you feel it is however not
related to the compiler functionality itself, then it might be better to report it int the corresponding regular nightly build thread.

Once we don't have any blockers on this version, we will merge the changes into trunk and it will be part of the regular nightlies.
Title: Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
Post by: Jenna on October 25, 2012, 07:53:34 pm
Fedora packages for fc 16, 17and 18 (32 and 64 bit) can be found in my repo.
To automatic install the repo install http://rpm.jenslody.de/fedora-jenslody.de-0.1-2.fc17.noarch.rpm (http://rpm.jenslody.de/fedora-jenslody.de-0.1-2.fc17.noarch.rpm) and enable the jenslody.de-xml repo.
Title: Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
Post by: AlexN on October 25, 2012, 11:02:43 pm
Fine work, but wouldn't it be a good idea to create a new release before starting a new branch. ;)
Title: Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
Post by: oBFusCATed on October 25, 2012, 11:21:40 pm
Fine work, but wouldn't it be a good idea to create a new release before starting a new branch. ;)
No, because it will stop the progress. Using a branch allows us to develop the two separately.
Title: Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
Post by: MortenMacFly on October 26, 2012, 06:14:38 am
Fine work, but wouldn't it be a good idea to create a new release before starting a new branch. ;)
Well that's what we have in mind. The next release will most likely not include this yet, but the release afterwards will.
Title: Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
Post by: stahta01 on November 23, 2012, 05:57:51 am
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.
Title: Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
Post by: 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?
Title: Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
Post by: stahta01 on November 28, 2012, 03:18:09 am
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?

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

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

Title: Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
Post by: Alpha on December 01, 2012, 08:22:48 pm
I have not yet been able to reproduce this crash... are you still experiencing it?