Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Problem when compiling on Windows C::B svn 13656 with gcc 15.1
(1/1)
gd_on:
I have opened a ticket https://sourceforge.net/p/codeblocks/tickets/1527/ because there is a problem when I try to compile C::B with the new gcc 15.1 version from Msys2. One header is apparently missing in globals.h
stahta01:
--- Quote from: gd_on on April 27, 2025, 06:02:06 pm ---I have opened a ticket https://sourceforge.net/p/codeblocks/tickets/1527/ because there is a problem when I try to compile C::B with the new gcc 15.1 version from Msys2. One header is apparently missing in globals.h
--- End quote ---
Using precompiled headers or not?
Edit: I will try to duplicate the problem using wxWidgets 3.3 git master and non-precompiled headers. Take a few hours.
Edit2: https://gcc.gnu.org/gcc-15/porting_to.html#c23
Edit3: Duplicated the error; now trying patch using stdint.h instead and seeing if it works
Edit4: Using "stdint.h" also fixes the build problem
Tim S.
gd_on:
I build C::B using a standard workspace for C::B (equivallent to CodeBlocks_wx32_64.workspace, but adapted to use global variables to be more wxWidgets version independant).
So, it uses precompiled headers.
wtfisgoingoff:
--- Quote from: gd_on on April 27, 2025, 07:18:04 pm ---I build C::B using a standard workspace for C::B (equivallent to CodeBlocks_wx32_64.workspace, but adapted to use global variables to be more wxWidgets version independant).
So, it uses precompiled headers.
--- End quote ---
Could you please share this workspace? I need to build C::B with wxWidgets 3.3.0 in Windows 11 24H2. However, that SVN repository has not provided the wx33_64.worksapce yet.
And I don't know how to adjust it to work with wx33
Thx
gd_on:
You can retrieve all you need in
* a svn repos: https://sourceforge.net/p/codeblocks-gd-cbps/svn/HEAD/tree/
* or a git repos : https://github.com/gerard-durand/codeblocks_gd_cbps
Both contains the same code. It has already been published on the forum, but quite a long time ago.
Navigation
[0] Message Index
Go to full version