Recent Posts

Pages: 1 ... 3 4 5 6 7 [8] 9 10
71
Help / Re: Build error "'HEAP_INFORMATION_CLASS' has not been declared"
« Last post by beautylesson on March 20, 2026, 04:05:12 am »
You likely have a broken Compiler or wxWidgets installation or do NOT have WX_PRECOMP defined (but the log you posted has it defined).
Where and How did you do the wxWidgets installation?

It appears to be missing the #include "wx/msw/wrapwin.h" from "wx/wxprec.h" header.
(The wrapwin.h includes windows.h; that includes winnt.h that defines HEAP_INFORMATION_CLASS fnf)

In the app.cpp file try adding the code below between the including <sdk.h> and "app.h".
If it works; likely have wxWidgets issue; if it still fails likely has a bad Compiler.

To confirm compiler try including
#include <windows.h>
or
#include <winnt.h>

Edit 4 or 5: changed __WINDOWS__ to __WXMSW__ in code below.

Code
#include <sdk.h>
#ifndef WX_PRECOMP
    #ifdef __WXMSW__
        #include <wx/msw/wrapwin.h>  // HEAP_INFORMATION_CLASS
    #endif // __WXMSW__
#endif // WX_PRECOMP

#include "app.h"

Tim S.
Maybe I need to post this question in another forum topic? For example, in Using Code::Blocks? I really need to configure Code::Blocks to create GTK applications, and in this topic the answer is no.
72
General (but related to Code::Blocks) / Re: File Association?
« Last post by skrath on March 19, 2026, 06:09:24 pm »
I am not able to open a .c file from Windows Explorer in a second tab, when one .c file is open in IDE. By double clicking on the file icon in Explorer, one IDE comes into focus without actually opening the file.
Can anybody suggest a solution?
73
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by skrath on March 19, 2026, 06:00:45 pm »
I am new, I am here.
74
It works. Thank you!
75
General (but related to Code::Blocks) / Re: Valgrind and Cachegrind
« Last post by Evan on March 19, 2026, 10:52:20 am »
Thanks.
76
Settings -> Environment ... -> Colours -> "Start here page: Link colour"
77
The startup page "Start here" displays dark blue text on a black background, which is difficult to read. Is it possible to change the font color?  :'(


Code::Blocks: svn 18326
wxWidgets: 3.3.2
78
General (but related to Code::Blocks) / Re: Valgrind and Cachegrind
« Last post by Miguel Gimenez on March 17, 2026, 11:58:57 am »
Quote
==33537== (see section Limitations in user manual)

Quote
On Linux, Valgrind determines at startup the size of the 'brk segment' using the RLIMIT_DATA rlim_cur, with a minimum of 1 MB and a maximum of 8 MB. Valgrind outputs a message each time a program tries to extend the brk segment beyond the size determined at startup. Most programs will work properly with this limit, typically by switching to the use of mmap to get more memory. If your program really needs a big brk segment, you must change the 8 MB hardcoded limit and recompile Valgrind.

The segment is trying to grow to 72 MB, far higher than the 8 MB limit. If you are using malloc() to allocate memory you can ignore this message.
79
Using Code::Blocks / Re: CB crash today ... but I can continue to use
« Last post by ThierryD on March 16, 2026, 05:39:02 pm »
Thank's to CB Team.

Anomaly corrected (apart "option IMPLIB=xxx", but I can add in another options in linker TAB). It's alright.

You can close this topic.

Regards.
80
Using Code::Blocks / Re: Lexer for C only?
« Last post by christo on March 15, 2026, 06:45:39 pm »
For C coders, patch https://github.com/josephch/codeblocks/commit/c44cbfaeb666a3eb205dc23bae547c7db849d879.patch can be used.

It cannot be used for those who code in C++ as lexer is applied based on extensions and .h can have only one type of lexer. Extension .h supporting C and C++ based on project  would be a nice feature.
Pages: 1 ... 3 4 5 6 7 [8] 9 10