From cf8942ee6f44f809c54c9b0e1f168b49102a0d44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 18 Nov 2025 10:58:33 +0100 Subject: [PATCH] tweaks --- releasenotes.txt | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/releasenotes.txt b/releasenotes.txt index ece1223afeb..75e1175f41d 100644 --- a/releasenotes.txt +++ b/releasenotes.txt @@ -1,30 +1,46 @@ Release Notes for Cppcheck 2.19 +Major bug fixes & crashes: +- Crash in CheckClass::checkConst() +- fuzzing crash (assert) in Token::update_property_info() +- Crash in checkConstVariable() +- Crash in valueFlowLifetimeClassConstructor() +- GUI: scratch pad crash +- Assert failure in getParentValueTypes() +- Crash in simplecpp::Macro::expand() +- crash in Tokenizer::simplifyCPPAttribute() + New checks: - Detect zero initialization of unions in which its largest member is not declared as the first one. Depending on the compiler, there's no guarantee that the complete union will be zero initialized in such scenarios leading to potential access of uninitialized memory. +- Added warning when main() throws an exception -Improved checking: -- +C/C++ support: +- Fixed syntax error for C++23 lambda without parameter clause +- Added support for typeof and __typeof operators GUI: -- +- Fix bug: checks multiple configurations even though user provides defines Changed interface: - some `preprocessorErrorDirective` and `syntaxError` errors got more specific error IDs. -- +- Removed deprecated platforms unix32-unsigned and unix64-unsigned +- Improve progress value +- Added float bits support in platform configuration +- Fixed --showtime not accounting for addons -Deprecations: -- +Performance: +- Introduced cache for followAllReferences() calls -Other: +Infrastructure & dependencies: - Removed deprecated support for builds with Qt5. - Added make variables `CXXOPTS` and `LDOPTS` to extend existing `CXXFLAGS` and `LDFLAGS`. - Added make variables `CPPOPTS` to extend existing `CPPFLAGS`. - `CPPFLAGS` are not longer being passed to the linker command for `cppcheck` and `testrunner`. -- Removed deprecated platforms `unix32-unsigned` and `unix64-unsigned`. - Updated Qt to 6.10.0 (official Windows release only). - The official Windows binary is now built against Boost 1.89 for increased performance. -- +- Updated to simplecpp 1.6.2 + +The changes focus heavily on stability (crash fixes), C/C++ compatibility, reducing false positives, and improving performance.