Skip to content

Cppcheck-2.18.0

Latest
Compare
Choose a tag to compare
@danmar danmar released this 20 Jul 12:25
· 42 commits to main since this release

Release Notes for Cppcheck 2.18

Changed interface:

  • Updated path matching syntax for -i, --file-filter, suppressions, GUI excludes, and project file excludes.
    Old patterns that use a * may need to use ** instead if it is intended to match path separators. More details can be seen in the manual.

Deprecations:

  • Support for building with Qt 5 will be removed in Cppcheck 2.19.
  • The platform 'unix32-unsigned' has been deprecated and will be removed in Cppcheck 2.19. Please use '--platform=unix32 --funsigned-char' instead.
  • The platform 'unix64-unsigned' has been deprecated and will be removed in Cppcheck 2.19. Please use '--platform=unix64 --funsigned-char' instead.

Other:

  • Updated Qt to 6.9.1 (official Windows release only).
  • added CMake target run-clang-tidy-csa to run Clang Static Analyzer
  • added CMake option ENABLE_CSA_ALPHA to enable the Clang Static Analyzer alpha checkers
  • Updated TinyXML-2 to v11.0.0
  • The minimum supported Python version has been bumped to 3.7.
  • CMake will now unconditionally use Boost.Containers if available. If CMake option USE_BOOST is specified it will now bail out when it is not found.
  • Fix checking a project that contains several project file entries for the same file.
  • Fixed --file-filter matching of looked up files in provided paths.
  • Split up cstyleCast checker; dangerous casts produce portability/warning reports, safe casts produce style reports.
  • Removed deprecated '--showtime=' value 'top5'. Please use 'top5_file' or 'top5_summary' instead.