|
1 | 1 | Release Notes for Cppcheck 2.19 |
2 | 2 |
|
| 3 | +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() |
| 12 | + |
3 | 13 | New checks: |
4 | 14 | - Detect zero initialization of unions in which its largest member is not |
5 | 15 | declared as the first one. Depending on the compiler, there's no guarantee |
6 | 16 | that the complete union will be zero initialized in such scenarios leading to |
7 | 17 | potential access of uninitialized memory. |
| 18 | +- Added warning when main() throws an exception |
8 | 19 |
|
9 | | -Improved checking: |
10 | | -- |
| 20 | +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 | GUI: |
13 | | -- |
| 25 | +- Fix bug: checks multiple configurations even though user provides defines |
14 | 26 |
|
15 | 27 | Changed interface: |
16 | 28 | - some `preprocessorErrorDirective` and `syntaxError` errors got more specific error IDs. |
17 | | -- |
| 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 |
18 | 33 |
|
19 | | -Deprecations: |
20 | | -- |
| 34 | +Performance: |
| 35 | +- Introduced cache for followAllReferences() calls |
21 | 36 |
|
22 | | -Other: |
| 37 | +Infrastructure & dependencies: |
23 | 38 | - Removed deprecated support for builds with Qt5. |
24 | 39 | - Added make variables `CXXOPTS` and `LDOPTS` to extend existing `CXXFLAGS` and `LDFLAGS`. |
25 | 40 | - Added make variables `CPPOPTS` to extend existing `CPPFLAGS`. |
26 | 41 | - `CPPFLAGS` are not longer being passed to the linker command for `cppcheck` and `testrunner`. |
27 | | -- Removed deprecated platforms `unix32-unsigned` and `unix64-unsigned`. |
28 | 42 | - Updated Qt to 6.10.0 (official Windows release only). |
29 | 43 | - The official Windows binary is now built against Boost 1.89 for increased performance. |
30 | | -- |
| 44 | +- Updated to simplecpp 1.6.2 |
| 45 | + |
| 46 | +The changes focus heavily on stability (crash fixes), C/C++ compatibility, reducing false positives, and improving performance. |
0 commit comments