Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Nightly builds / Re: The 26 July 2026 build (13923) is out.
« Last post by Miguel Gimenez on Today at 12:04:59 pm »
Spam reported to moderator.
2
Stupid reincident spammer reported to moderator.
3
Nightly builds / Re: The 26 July 2026 build (13923) is out.
« Last post by holeioonline on Today at 09:26:52 am »
The official wxWidgets website now also provides Windows binaries for certain toolchains; however, the GCC 15.2.0 version mentioned above is a DLL package specifically built and packaged by Code::Blocks to match GCC 15.2.0. hole io
4
Yes, I think it would be useful. Using cmake-file-api could make CMake integration more consistent while reducing the amount of manual project configuration in Code::Blocks.  Drift Hunters
5
General (but related to Code::Blocks) / Re: How good is CodeBlocks?
« Last post by Miguel Gimenez on Yesterday at 12:44:59 pm »
Spam reported to moderator.
6
General (but related to Code::Blocks) / Re: How good is CodeBlocks?
« Last post by burdenmark on Yesterday at 05:13:02 am »
Hey guys, I am currently in college getting my AA and i decided that i want to major in computer science. I know it's a little late for me to decide that i want to persure software development this late in the game but I have always been really interested in coding since i was 14 and learned how to work with HTML,CSS and PHP. I have bought a couple of books for C++ and some other programming languages and am planning to start becoming a dedicated learner.

My question is, (keep in mind i really am new to all of this stuff) Is using CodeBlocks to learn C++ going to effect the way that i learn it? Is it going to be any different than any other Software I might use further down the line or maybe even in a career?

I have this big C++ for dummies book thats 7 books in one, and throughout the whole book it will be using CodeBlocks (it gave a disk) and i just want to make sure that the only reason it is suggesting it is because they favor it over others and not because it is going to stunt my learning process or be only applied to very specific ideas.

Sorry for the long posts, and sorry if i sounded ignorant or wrong at all. I am just excited and nervous to start my journey towards programming!
dummies world cup
P.S Sorry if this is the wrong section for this!
CodeBlocks is a solid choice for learning C++.
7
Even without actually compiling cb with llvm/clang you can benefit A LOT from its toolbox to find errors and dubious code.

1) Use the clangd_client cb-plugin. I only activate it temporarily, look at its findings and deactivate it afterwards due to its early stage.
2) Use clang-tidy as a "compiler" on any c++ project from within cb. Like with compiler warnings, clicking onto one jumps to the corresponding code line. This one I use very often.  I started using it with cb over 10 years ago.
3) Use scan-build from the commandline when building cb or any other project that compiles makefiles (e.g. via cmake). Gives a nice report.

Apart from llvm/clang I still recommend the cb-plugin for cppcheck.

The tools do have false positives. You can configure .clang-tidy. I disabled some warnings but in general I like to keep warnings on. At spots with false positives you can apply local suppressions (NOLINT, NOLINTNEXTLINE, cppcheck-suppress etc.). When using one of the tools for the first time on a larger codebase you might be flooded with warnings. Don't dispair. One strategy to attack the list systematically is to disable all but one type of warning. Fix those and proceed with the next type of warning. This might also happen after an update of one of the tools. A week ago, llvm forked clang-23 and started to provide packages for clang-24. The latter added a new check for [misc-const-correctness]. I like it.


8
Looks like Morten is working on building C::B for clang/arm. Recent svn changs shows many fixes the warnings.
9
I also see this kind of message in my console windows in my own built application, which is built against the wx library from msys2/mingw64 platform. I see the wx version is:

https://packages.msys2.org/base/mingw-w64-wxwidgets3.2
10
It might be useful to compile Code::Blocks with the clang compiler as the warnings and once in a while the errors exposed are somewhat different. What think ye?
Pages: [1] 2 3 4 5 6 ... 10