Author Topic: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.  (Read 56399 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
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.

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.
« Last Edit: October 24, 2012, 12:07:41 am by killerbot »

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
« Reply #1 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 and enable the jenslody.de-xml repo.

Offline AlexN

  • Multiple posting newcomer
  • *
  • Posts: 13
    • Alex's Link Sammlung
Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
« Reply #2 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. ;)
best regards
 Alex ;)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12122
    • Travis build status
Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
« Reply #3 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
« Reply #4 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6672
    • My Best Post
Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
« Reply #5 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.
« Last Edit: November 23, 2012, 06:18:35 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
« Reply #6 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6672
    • My Best Post
Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
« Reply #7 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: [Select]
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: [Select]
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

« Last Edit: November 28, 2012, 03:21:15 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: The 23 October 2012 build (8478) XML COMPILER BRANCH version is out.
« Reply #8 on: December 01, 2012, 08:22:48 pm »
I have not yet been able to reproduce this crash... are you still experiencing it?