News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

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

Started by killerbot, October 24, 2012, 12:06:10 AM

Previous topic - Next topic

killerbot

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.

Jenna

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.

AlexN

Fine work, but wouldn't it be a good idea to create a new release before starting a new branch. ;)
best regards
Alex ;)

oBFusCATed

Quote from: 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. ;)
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!]

MortenMacFly

Quote from: 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. ;)
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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

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?

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.


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.

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


C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Alpha

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