Release 2.1.172 (2026-08-05)¶
Bug fixes¶
-
curate C++ cppcheck LINT enable set + exclude build tree (#2586) The C++ cppcheck LINT gate failed for two independent reasons (T11 #2558):
-
cppcheck walked CMake's build/ output and tripped toomanyconfigs on the generated compiler-probe file CMakeCXXCompilerId.cpp. Add -i build -i build-sanitize so the build tree is never linted, mirroring the prune clang-format's find driver already applies.
-
--enable=all flagged unusedFunction on every GoogleTest TEST() function — a systematic false positive, since cppcheck analyses one TU at a time and cannot see the static-registration usage behind the TEST() macro. Replace it with a curated set (warning,style,performance,portability), which also drops the noisy information/missingInclude diagnostics.
Dropping unusedFunction is deliberate tool-tuning of a check that emits systematic false positives, not a standing suppression-list entry, so the no-standing-suppression rule stays intact (epic #207 decision (a)).
Update the pinned cppcheck argv test and document the curated enable set and its rationale in the C++ toolchain-and-warnings standard.
CI Evidence: All gates passed — full audit bundle available. Download →