Skip to content

Cppcheck-2.10

Compare
Choose a tag to compare
@danmar danmar released this 28 Jan 13:25
· 2151 commits to main since this release

Analysis:

  • Many improvements and fixes in checkers.
  • Windows binaries currently default to the "win32A" and "win64" platform respectively. Starting with Cppcheck 2.13 they will default to 'native' instead. Please specify '--platform=win32A' or '--platform=win64' explicitly if you rely on this.
  • New check: use memset/memcpy instead of loop

CLI:

  • if the file provided via "--file-list" cannot be opened it will now error out
  • add command-line option "--disable=" to individually disable checks

GUI:

  • Detect when installed version is old. There is setting in Edit/Preferences to turn this on.
  • Fix path issue with backslashes
  • Cleanup *.ctu-info files after analysis

Build:

  • the deprecated Makefile option SRCDIR is no longer accepted
  • added CMake option BUILD_CORE_DLL to build lib as cppcheck-core.dll with Visual Studio