|
1 | | -Release Notes for Cppcheck 2.19 |
| 1 | + |
| 2 | +Release Notes for Cppcheck 2.20 |
2 | 3 |
|
3 | 4 | Major bug fixes & crashes: |
4 | | -- Crash in CheckClass::checkConst() |
5 | | -- fuzzing crash (assert) in Token::update_property_info() |
6 | | -- Crash in checkConstVariable() |
7 | | -- Crash in valueFlowLifetimeClassConstructor() |
8 | | -- GUI: scratch pad crash |
9 | | -- Assert failure in getParentValueTypes() |
10 | | -- Crash in simplecpp::Macro::expand() |
11 | | -- crash in Tokenizer::simplifyCPPAttribute() |
| 5 | +- |
12 | 6 |
|
13 | 7 | New checks: |
14 | | -- Detect zero initialization of unions in which its largest member is not |
15 | | - declared as the first one. Depending on the compiler, there's no guarantee |
16 | | - that the complete union will be zero initialized in such scenarios leading to |
17 | | - potential access of uninitialized memory. |
18 | | -- Added warning when main() throws an exception |
| 8 | +- |
19 | 9 |
|
20 | 10 | C/C++ support: |
21 | | -- Fixed syntax error for C++23 lambda without parameter clause |
22 | | -- Added support for typeof and __typeof operators |
| 11 | +- |
23 | 12 |
|
24 | 13 | GUI: |
25 | | -- Fix bug: checks multiple configurations even though user provides defines |
| 14 | +- |
26 | 15 |
|
27 | 16 | Changed interface: |
28 | | -- some `preprocessorErrorDirective` and `syntaxError` errors got more specific error IDs. |
29 | | -- Removed deprecated platforms unix32-unsigned and unix64-unsigned |
30 | | -- Improve progress value |
31 | | -- Added float bits support in platform configuration |
32 | | -- Fixed --showtime not accounting for addons |
33 | | - |
34 | | -Performance: |
35 | | -- Introduced cache for followAllReferences() calls |
| 17 | +- |
36 | 18 |
|
37 | 19 | Infrastructure & dependencies: |
38 | | -- Removed deprecated support for builds with Qt5. |
39 | | -- Added make variables `CXXOPTS` and `LDOPTS` to extend existing `CXXFLAGS` and `LDFLAGS`. |
40 | | -- Added make variables `CPPOPTS` to extend existing `CPPFLAGS`. |
41 | | -- `CPPFLAGS` are not longer being passed to the linker command for `cppcheck` and `testrunner`. |
42 | | -- Updated Qt to 6.10.0 (official Windows release only). |
43 | | -- The official Windows binary is now built against Boost 1.89 for increased performance. |
44 | | -- Updated to simplecpp 1.6.2 |
45 | | -- The Visual Studio builds not longer set the `WIN32` define. |
46 | | -- Added `DISALLOW_PROCESS_EXECUTOR` for building without fork(). |
47 | | - |
48 | | -The changes focus heavily on stability (crash fixes), C/C++ compatibility, reducing false positives, and improving performance. |
| 20 | +- |
0 commit comments