Recent Posts

Pages: 1 2 3 [4] 5 6 7 8 9 10
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by null on September 25, 2023, 10:41:56 am »
here I am
Plugins development / Re: Code completion using LSP and clangd
« Last post by ollydbg on September 25, 2023, 10:24:25 am »
Well, another question is:

In the suggestion list, does it need an icon for each item?

Here is the screen shot of mine, it looks like I just only have texts in the suggestion list after I press the "dot", see image shot below:

Nightly builds / Re: The 24 September 2023 build (13360) is out.
« Last post by Xaviou on September 25, 2023, 10:18:04 am »

OS X version of this rev can be downloaded from my Google Drive.
There is only a macOS-11.6 version.
Note that it is not a notarized version of the application.

32 bits version for Windows can also be found in the same place.

Debian Bookworm and Bullseye (32 and 64 bits) can be installed from my repo.
Ubuntu-22.04 and Ubuntu-23.04 versions can be installed from my ppa

The Google Drive folder of this rev also contains the unsigned deb files available in the repo.

Plugins development / Re: Code completion using LSP and clangd
« Last post by ollydbg on September 25, 2023, 10:09:17 am »
I see an alert when I enabled the Clangd_client, and when I hit the dot after I type an object name.



That means the code suggestion list about the object's member variables will be prompted.

Here is the screen shot of the alert. Do you know what cause this alert? Thanks.

EDIT: after I click the "continue" button, C::B just crashed. :(


I see the crash log in the RPT file:
Error occurred on Monday, September 25, 2023 at 16:09:47.

codeblocks.exe caused an Access Violation at location 00007FFCB25577DC in module codeblocks.dll Reading from location 0000000000000268.

AddrPC           Params
00007FFCB25577DC 0000000000000000 0000000000000001 00000278CB581EA0  codeblocks.dll!ConfigManager::GetUserDataFolder+0x3ae3c
00007FFCB24F8A90 0000000000000000 00007FFCB29659C8 000000000000000A  codeblocks.dll!sqstd_rex_getsubexp+0x1cb46
00007FFCB239C42D 00000278CB38D210 000000B6F77FD880 00000000FFFFFFFF  codeblocks.dll!wxScintilla::GetLibraryVersionInfo+0x9ddb
00007FFCB239C7A4 00000278CB38D210 00000278CD41A040 00000278CB96700D  codeblocks.dll!wxScintilla::GetLibraryVersionInfo+0xa152
00007FFCB248EEF2 00000278CB8AC840 00000278CD41A040 00000278CB8AC020  codeblocks.dll!wxScintilla::GetLibraryVersionInfo+0xfc8a0
00007FFCB248389A 00000278CB8AC020 0000000000000000 00000278CD41A040  codeblocks.dll!wxScintilla::GetLibraryVersionInfo+0xf1248
00007FFCB2485CBB 00000278CB8AC020 00007FFC00000834 0000000000000000  codeblocks.dll!wxScintilla::GetLibraryVersionInfo+0xf3669
00007FFCB23A1018 00000278CB8AC020 00007FFC00000834 0000000000000000  codeblocks.dll!wxScintilla::GetLibraryVersionInfo+0xe9c6
00007FFCB2384527 00000278C781B070 000000B600000834 0000000000000000  codeblocks.dll!wxScintilla::SendMsg+0x51
00007FFCB2386F4A 00000278C781B070 0000000000000000 000000B6F77FE2E0  codeblocks.dll!wxScintilla::AutoCompShow+0x52
00007FFCB22585AE 00000278C7476900 000000B6F77FE780 000000B6F77FE7D0  codeblocks.dll!CCManager::OnCompleteCode+0x86a
00007FFCB2552D79 00000278C7445450 000000B6F77FE780 000000B6F77FE890  codeblocks.dll!ConfigManager::GetUserDataFolder+0x363d9
00007FFCB22F4BE1 00000278C3000F00 000000B6F77FE780 000000B600000000  codeblocks.dll!Manager::ProcessEvent+0xb9
00007FFCB3F21EEB 00000278C5FBF4D0 00000278C6A1E4E0 00007FFCB40FFFD0  clangd_client.dll!0xa1eeb
00007FFCB3EB9610 00000278C3806840 00000278C6A1E4E0 0000000000000226  clangd_client.dll!0x39610
00007FFCB28C2E77 00000278C3806840 00007FFCB28C2E77 000000B6F77FF570  wxmsw32u_gcc_cb.dll!wxAppConsoleBase::CallEventHandler+0xb7
00007FFCB2A12AC5 00000278C349A120 00007FFCB2A13363 000000B6F77FF710  wxmsw32u_gcc_cb.dll!wxEvtHandler::ProcessEventIfMatchesId+0x85
00007FFCB2A12F84 00000278C3582B30 00000278C750A460 00000278CB8E0800  wxmsw32u_gcc_cb.dll!wxEvtHandler::SearchDynamicEventTable+0xd4
00007FFCB2A132D2 00000278C74E5C68 0000000000000000 0000000000000000  wxmsw32u_gcc_cb.dll!wxEvtHandler::TryHereOnly+0x22
00007FFCB2A12D93 00000278CB30C610 00000278CB30C610 00000278CB30C610  wxmsw32u_gcc_cb.dll!wxEvtHandler::DoTryChain+0x43
00007FFCB2A13441 0000000000000000 00007FFCF3CF5BA1 00000278C74E5C30  wxmsw32u_gcc_cb.dll!wxEvtHandler::ProcessEvent+0xc1
00007FFCB2A143E0 00000278CB309850 0000000000000000 00000278C2B1D880  wxmsw32u_gcc_cb.dll!wxEvtHandler::ProcessPendingEvents+0x110
00007FFCB28C45AA 0000000000000000 00007F0000010000 00000278C750A460  wxmsw32u_gcc_cb.dll!wxAppConsoleBase::ProcessPendingEvents+0x7a
00007FFCB28F4794 0000000000000000 0000000000000040 0000000000000000  wxmsw32u_gcc_cb.dll!wxEventLoopManual::ProcessEvents+0x24
00007FFCB28F48B8 00000278C2B1D880 00000278C750A460 0000000000000000  wxmsw32u_gcc_cb.dll!wxEventLoopManual::DoRun+0xf8
00007FFCB28F4588 0000000000000048 00007FFCF20CB870 000000B6F77FF990  wxmsw32u_gcc_cb.dll!wxEventLoopBase::Run+0x58
00007FFCB28C5FE0 0000000200000030 00007FFCB3962B40 0000000000000000  wxmsw32u_gcc_cb.dll!wxAppConsoleBase::MainLoop+0x70
00007FF78C045E94 00000278C2B1D880 00007FFCB2A1FAAF 00000278C1032528  codeblocks.exe!0x5e94
00007FFCB2938EB1 FFFFFFFFFFFFFFFF 0000000000000006 0000000000000048  wxmsw32u_gcc_cb.dll!wxEntryReal+0x51
00007FF78C0424A5 00007FF78C040000 0000000000000000 00000278C1033762  codeblocks.exe!0x24a5
00007FF78C0412EE 0000000000000000 0000000000000000 0000000000000000  codeblocks.exe!0x12ee
00007FF78C0413E6 0000000000000000 0000000000000000 0000000000000000  codeblocks.exe!0x13e6
00007FFCF20A7604 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk+0x14
00007FFCF3D226A1 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart+0x21


I'm using the latest svn version under Windows.
Development / Re: Error when compiling C::B svn 13356 with msys2/gcc
« Last post by blauzahn on September 25, 2023, 06:58:16 am »
Also on Linux, cb compiles again with the fix made in svn 13360. Thank you.
Development / Re: Error when compiling C::B svn 13356 with msys2/gcc
« Last post by ollydbg on September 25, 2023, 02:24:52 am »
Morten has fixed the issue.  :)
General (but related to Code::Blocks) / Re: Compilation Error on CodeBlocks
« Last post by ollydbg on September 25, 2023, 02:24:17 am »
...fixed in revision 13360. Sorry about that, I forgot to select one file on the initial commit

Hi, Morten, thanks. But you replied in the wrong thread.

It should be here:,25527.msg173806.html#msg173806
I've noticed several other people have requested how to use CMake with Code::Blocks and have been told to run a command like the following:
cmake . -G "CodeBlocks - Unix Makefiles"

However, that command is part of Extra Generators [1] which is, as mentioned in the description, deprecated. According to the CMake documentation, "support for Extra Generators is deprecated and will be removed from a future version of CMake." Is anyone planning on making Code::Blocks work with CMake some other way? Thank you for your time.

General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by on September 25, 2023, 12:49:57 am »
I am new. I am here. I am definitely not a robot pretending to be a human.
Nightly builds / The 24 September 2023 build (13360) is out.
« Last post by killerbot on September 24, 2023, 09:07:24 pm »
We switched to gcc 13.1.0 (on 04 June 2023) --> download the new wx/mingw dll's see link below

Get the compiler we use here :

Get quick announcements through the RSS feed

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll(s) for Code::Blocks :
A link to Mingw64 dll's needed by Code::Blocks :

The 24 September 2023 build is out.
  - Windows :
  - Linux :

The current SDK version is : 2.25.0

Resolved Fixed:

  • Clangd_client 1.2.75 23/09/2 Fix clangd_client selection of build target. Guard some debugging msgs
  • Clangd_client 1.2.76 23/09/4 Pause parsing for custom makefiles until user requests clangd parsing
  • Clangd_client 1.2.77 Check for IsCustomMakefile in Workspace changed event also.
  • Clangd_client 1.2.78 23/09/9 Revert UpdateCompilationDatabase() to previous method of finding a build target
  • CodeBlocks uservarmanager.cpp - Guard against an infinite loop because the code is rooted in the wxAppBase::DoIdle()/OnUpdateUI() event and can be called from the idle loop causing unwanted re-entry into the "Global Variable Editor dialog"
  • Clangd_client 1.2.79 23/09/9 Avoid re-entry into CreateParser() causing crashes at termination because a duplicate project was pushed to the parser list
  • Clangd_client 1.2.80 23/09/9 Fix crash in OnEditorActivate() using nullptr pParser
  • Clangd_client 1.2.81 23/09/15 Apply patch 1407 & 1408 Fix leak and out-of-bounds errors Thanks Christo & Martin Strunz
  • compiler: allow to show more detailed regex analysis when parsing compiler messages (in advanced compiler options -> output parsing)
  • compiler: allow backslash in file path, too when parsing output

Regressions/Confirmed/Annoying/Common bugs:

    Pages: 1 2 3 [4] 5 6 7 8 9 10