The interactive file manager requires Javascript. Please enable it or use sftp or scp.
You may still browse the files here.

Download Latest Version cppcheck-2.18.0.tar.gz (3.9 MB)
Email in envelope

Get an email when there's a new version of cppcheck

Home / cppcheck / 2.14
Name Modified Size InfoDownloads / Week
Parent folder
cppcheck-2.14.0.x64-Setup.msi 2024-04-20 20.3 MB
README 2024-04-20 1.9 kB
cppcheck-2.14.0.zip 2024-04-20 4.1 MB
cppcheck-2.14.0.tar.gz 2024-04-20 3.7 MB
cppcheck-2.14.0.tar.bz2 2024-04-20 3.0 MB
Totals: 5 Items   31.1 MB 3
Release Notes for Cppcheck 2.14.0

Summary:
- Fixed 23 "crash" tickets
- Fixed 69 "false positive" tickets
- Fixed 36 "improve check" tickets

New checks:
- eraseIteratorOutOfBounds: warns when erase() is called on an iterator that is out of bounds
- returnByReference: warns when a large class member is returned by value from a getter function

GUI:
-Make it possible to suppress warnings in all files in a folder

Changed interface:
- Fixed crash with '--rule-file=' if some data was missing.
- '--rule-file' will now bail out if a rule could not be added or a file contains unexpected data.
- Add option '--check-version', you can use it to pin the cppcheck version in a script.
- Added '--template=simple'. It is expands to '{file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]' without any additional location details.
- Removed deprecated platform type 'Unspecified'. Please use 'unspecified' instead.
- Add --file-filter=- option that reads file filters from stdin. Added for a plugin.

Other:
- Added CMake option 'EXTERNALS_AS_SYSTEM' to treat external includes as 'SYSTEM' ones.
- The minimum required compiler versions have been bumped to GCC 5.1 / Clang 3.5 / Visual Studio 2015
- The minimum required CMake version has been bumped to 3.5
- Using Visual Studio with CMake now checks if the CMake version is at least 3.13. This was always required but was not checked explicitly.
- Removed deprecated 'Makefile' option 'SRCDIR'.
- Added CMake option 'DISALLOW_THREAD_EXECUTOR' to control the inclusion of the executor which performs the analysis within a thread of the main process.
- Removed CMake option 'USE_THREADS' in favor of 'DISALLOW_THREAD_EXECUTOR'.
- misra-config will not be treated as a critical error anymore

Safety critical:
- #12440 : Misra violations found but cppcheck exited with 0 even after specifying exit code
Source: README, updated 2024-04-20