Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on February 09, 2026, 04:57:11 pm

Title: The 09 February 2026 build (13785) is out.
Post by: killerbot on February 09, 2026, 04:57:11 pm
We switched to gcc 15.1.0 (on 23 May 2025) --> download the new wx/mingw dll's see link below

Get the compiler we use here : https://github.com/brechtsanders/winlibs_mingw/releases/download/15.1.0posix-12.0.0-ucrt-r1/winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64ucrt-12.0.0-r1.7z

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(s) for Code::Blocks : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw32u_gcc_cb_wx328_2D_gcc1510-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls15.1.0.7z


The 09 February 2026 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2026/CB_20260209_rev13785_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 09 February 2026 build (13785) is out.
Post by: Xaviou on February 10, 2026, 08:43:41 pm
Hi.

32 bits version for Windows can be downloaded from my website (https://wxstuff.xaviou.fr/article/codeblocks-nightly-builds.html).

Debian Trixie (64 bits) and Bookworm (32 and 64 bits) can be installed from my repo (https://wxstuff.xaviou.fr/article/debian-repository.html)
The corresponding unsigned deb files can also be downloaded from the website page linked above.

Ubuntu-22.04, 24.10 and 25.10 versions can be installed from my ppa (https://launchpad.net/~x-psoud/+archive/ubuntu/cbnb) (they are now available for both amd64 and arm64 architectures).

Regards
Xav'
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Xaviou on February 15, 2026, 10:30:05 pm
Hi.
I made some compilation tests with wxWidgets-3.3.x, and it seems there are problems:

Regards
Xav'
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Miguel Gimenez on February 16, 2026, 12:11:42 pm
The squirrel error may be fixed including (in sc_wxtypes.cpp)
Code
#include <wx/colour.h>
just before
Code
#include <wx/filename.h>
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Xaviou on February 16, 2026, 06:46:55 pm
Hi.
The squirrel error may be fixed including (in sc_wxtypes.cpp)
Code
#include <wx/colour.h>
just before
Code
#include <wx/filename.h>
I doesn't : I still get the same error.

Regards
Xav'
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Miguel Gimenez on February 16, 2026, 07:09:16 pm
Can you test changing wxColour to wxColourBase in lines 1079 to 1082?
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Xaviou on February 17, 2026, 10:40:23 pm
Hi
Can you test changing wxColour to wxColourBase in lines 1079 to 1082?
Tested, but it doesn't change anything : the error is still here

Regards
Xav'
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Miguel Gimenez on February 18, 2026, 05:10:51 pm
The only difference I see is the method declarations are "unsigned char Green()" instead of "ChannelType Green()". ChannelType is a typedef for unsigned char, but the compiler may be too picky.

Last shot: replace "wxColour::ChannelType" with "unsigned char" in calls to the NoParamGetterInt template.

EDIT: Another possibility (not fully compatible) is using
Code
BindMethod(v, _SC("GetBlue"), NoParamGetterInt<int, wxColour, &wxColour::GetBlue>, _SC("wxColour::GetBlue"));
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Xaviou on February 18, 2026, 06:44:01 pm
The only difference I see is the method declarations are "unsigned char Green()" instead of "ChannelType Green()". ChannelType is a typedef for unsigned char, but the compiler may be too picky.

Last shot: replace "wxColour::ChannelType" with "unsigned char" in calls to the NoParamGetterInt template.

EDIT: Another possibility (not fully compatible) is using
Code
BindMethod(v, _SC("GetBlue"), NoParamGetterInt<int, wxColour, &wxColour::GetBlue>, _SC("wxColour::GetBlue"));

None of these 2 worked:
Code
Z:\wxWidgets\CodeBlocks\src\sdk\scripting\bindings\sc_wxtypes.cpp:1079:19: error: no matches converting function 'NoParamGetterInt' to type 'SQFUNCTION' {aka 'int (*)(struct SQVM*)'}
 1079 |         BindMethod(v, _SC("Blue"), NoParamGetterInt<unsigned char, wxColour, &wxColour::Blue>, _SC("wxColour::Blue"));
      |         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Z:\wxWidgets\CodeBlocks\src\sdk\scripting\bindings\sc_wxtypes.cpp:17:
include/scripting/bindings/sc_utils.h:992:11: note: candidate is: 'template<class ReturnType, class ClassType, ReturnType (ClassType::* func)() const> SQInteger ScriptBindings::NoParamGetterInt(HSQUIRRELVM)'
  992 | SQInteger NoParamGetterInt(HSQUIRRELVM v)
      |           ^~~~~~~~~~~~~~~~
and
Code
Z:\wxWidgets\CodeBlocks\src\sdk\scripting\bindings\sc_wxtypes.cpp:1079:19: error: no matches converting function 'NoParamGetterInt' to type 'SQFUNCTION' {aka 'int (*)(struct SQVM*)'}
 1079 |         BindMethod(v, _SC("Blue"), NoParamGetterInt<int, wxColour, &wxColour::Blue>, _SC("wxColour::Blue"));
      |         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Z:\wxWidgets\CodeBlocks\src\sdk\scripting\bindings\sc_wxtypes.cpp:17:
include/scripting/bindings/sc_utils.h:992:11: note: candidate is: 'template<class ReturnType, class ClassType, ReturnType (ClassType::* func)() const> SQInteger ScriptBindings::NoParamGetterInt(HSQUIRRELVM)'
  992 | SQInteger NoParamGetterInt(HSQUIRRELVM v)
      |           ^~~~~~~~~~~~~~~~
Regards
Xav'
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Miguel Gimenez on February 18, 2026, 07:13:22 pm
Thanks for testing. The second should use GetBlue instead of Blue, they are different accessors.

EDIT:
The solution recommended by Gemini is the same but using "unsigned int"
Code
BindMethod(v, _SC("GetAlpha"), NoParamGetterInt<unsigned int, wxColour, &wxColour::GetAlpha>, _SC("wxColour::GetAlpha"));
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Xaviou on February 27, 2026, 10:24:15 pm
Hi
EDIT:
The solution recommended by Gemini is the same but using "unsigned int"
Code
BindMethod(v, _SC("GetAlpha"), NoParamGetterInt<unsigned int, wxColour, &wxColour::GetAlpha>, _SC("wxColour::GetAlpha"));

Well : I've also submitted the problem to an AI (Claude via the Codex extension of VSCode)  :-[ : it gave me a more complex solution (tested with rev 13793 and it worked) :

He told me to add 4 new functions (near other wrappers wxColour, for example, after wxColour_To_String) :
Code
SQInteger wxColour_Blue(HSQUIRRELVM v)
{
    ExtractParams1<const wxColour*> extractor(v);
    if (!extractor.Process("wxColour_Blue"))
        return extractor.ErrorMessage();
    sq_pushinteger(v, extractor.p0->Blue());
    return 1;
}

SQInteger wxColour_Green(HSQUIRRELVM v)
{
    ExtractParams1<const wxColour*> extractor(v);
    if (!extractor.Process("wxColour_Green"))
        return extractor.ErrorMessage();
    sq_pushinteger(v, extractor.p0->Green());
    return 1;
}

SQInteger wxColour_Red(HSQUIRRELVM v)
{
    ExtractParams1<const wxColour*> extractor(v);
    if (!extractor.Process("wxColour_Red"))
        return extractor.ErrorMessage();
    sq_pushinteger(v, extractor.p0->Red());
    return 1;
}

SQInteger wxColour_Alpha(HSQUIRRELVM v)
{
    ExtractParams1<const wxColour*> extractor(v);
    if (!extractor.Process("wxColour_Alpha"))
        return extractor.ErrorMessage();
    sq_pushinteger(v, extractor.p0->Alpha());
    return 1;
}
And then, replacing the 4 "BindMethod" witch were causing the build error:
Code
BindMethod(v, _SC("Blue"), wxColour_Blue, _SC("wxColour::Blue"));
BindMethod(v, _SC("Green"), wxColour_Green, _SC("wxColour::Green"));
BindMethod(v, _SC("Red"), wxColour_Red, _SC("wxColour::Red"));
BindMethod(v, _SC("Alpha"), wxColour_Alpha, _SC("wxColour::Alpha"));

Regards
Xav'
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Miguel Gimenez on February 28, 2026, 11:15:57 am
Thank you, I will integrate this.
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Miguel Gimenez on February 28, 2026, 12:08:22 pm
Change applied in r13802 (https://sourceforge.net/p/codeblocks/code/13802/), thank you.
Title: Re: The 09 February 2026 build (13785) is out.
Post by: Xaviou on March 05, 2026, 08:40:48 pm
Hi.

There is also some few code modifications to the wxSmith plugin for wxWidgets-3.3.2.

Attached is a patch  from svn 13810.

Regards
Xav'
Title: Re: The 09 February 2026 build (13785) is out.
Post by: ollydbg on March 06, 2026, 12:55:34 am
Hi.

There is also some few code modifications to the wxSmith plugin for wxWidgets-3.3.2.

Attached is a patch  from svn 13810.

Regards
Xav'

Hi, Xaviou, I'm not sure why the "at" is preferred instead of "[]"?

We have some discussion here: New wxWidgets releases (https://forums.codeblocks.org/index.php/topic,26255.0.html)

Thanks.

Title: Re: The 09 February 2026 build (13785) is out.
Post by: Xaviou on March 06, 2026, 10:05:55 am
Hi
Hi, Xaviou, I'm not sure why the "at" is preferred instead of "[]"?
Well, I don't either really know  :-[ It's a solution given by chatgpt to solve this building problem:
Quote from: chatgpt
ArrayChecks is a wxArrayBool, and with GCC 15, the non-const [] operator of wxBaseArray<bool> breaks (bool& is impossible with vector<bool>)

We have some discussion here: New wxWidgets releases (https://forums.codeblocks.org/index.php/topic,26255.0.html)
I apologize : I had this solution just after rev13802 (solving the first building problem).
I updated to rev 13810 before creating the patch, and tested the build, but only with the patch, not without.

Now that I have tested the rev 13810 "as is", I can confirm it works without the watch.
Again, sorry.

Regards.
Xav'
Title: Re: The 09 February 2026 build (13785) is out.
Post by: ollydbg on March 07, 2026, 07:48:32 am
Hi Xaviou, never mind. I really appreciate all your contributions to wxWidgets and Code::Blocks.