Populares: Datos actualizados el 26 de octubre de 2026

Categorías

Internet1355
Comunicación321
Audio y vídeo898
Gráficos y diseño539
Ofimática y productividad1120
Programación3132
Inteligencia artificial527
Seguridad y privacidad385
Herramientas del sistema3113
Juegos523
Educación y ciencia239
Redes e informática284

Cppcheck: descargar versiones anteriores

Cppcheck is a static analysis tool for C/C++ code.

Aquí figuran 22 versiones de Cppcheck, desde 30 de marzo de 2021 hasta la actual, 2.22.0. Cada una enlaza con los instaladores del propio desarrollador.

2021: 4 4 21 2022: 3 3 22 2023: 4 4 23 2024: 5 5 24 2025: 3 3 25 2026: 3 3 26

22 versiones en 5 años · unas 4 al año

VersiónFechaTamañoArchivos
2.22.0Última versión 19 de septiembre de 2026 — 64 bits MSI
Notas de la versión
Release Notes for Cppcheck 2.22
Major bug fixes & crashes:
- Fixed a large number of fuzzer-found crashes and hangs in the tokenizer and template simplifier, e.g. TemplateSimplifier::expandTemplate() (bb630c2, 3f2d60c), Tokenizer::simplifyTypedef() (71de675, 3deb36d, 592e7b7), Tokenizer::simplifyUsing() (9162aa7, 7d5a54c), Tokenizer::findGarbageCode() (08db304) and ReverseTraversal::traverse() (3a3184d, 5aa31d0).
- 6d2b6f4 Fix #14974 [regression] inline suppression does not work with build dir anymore.
- 9a500c8 Fix #14972 [regression] Syntax Error: AST broken, '!' doesn't have an operand.
New checks:
- 0d7884d Warn when feof() is used as a while loop condition (wrongfeofUsage).
- 04091bd ftell() result is unspecified when file is opened in mode "t".
- 3d88880 Detect when an STL algorithm such as std::copy, std::equal, std::transform, etc. accesses more elements through an iterator than are available in the container (algorithmOutOfBounds).
- f695ade Detect switch cases that cannot be selected when the switch condition has a known value (unreachableSwitchCase).
C/C++ support:
- b878dc2 Support C++23 'if consteval' / 'if !consteval'.
- 7a8c67a Fix #15007 isAttributeNoreturn not set for _Noreturn.
GUI:
- f81f6f0 Fix #14829 Platform configuration mismatch between UI selection and analysis log.
- 9f74c2d Fix #14813 crash: recheck in GUI sometimes crashes.
- 550189b Fix #14738 GUI recheck of files not working properly when importing compile_commands.json.
- 8f7666d Fix #14983 GUI: exclude file with relative path.
- 6640862 Fix #14933 each GUI log entry line should be output on a separate line.
- 5799d47 Removed GUI compliance report instructions (feature removed).
Suppressions:
- 93546a2 XML suppression file: added macro attribute for specifying macro name.
- fecb349 Fix #14959 Warning hash for token-based warnings.
- f6fff71 Fix #15013 Calculate warning hash for CTU warnings.
- 0b59984 Baseline functionality (script and documentation).
- 637d5be Suppression file name cache. (performance)
- c976cac ErrorLogger: do not open and read from files unless necessary (performance).
Import project:
- d32c01d Added support for Folders in slnx project files, skip non-C++ projects.
- 9408a1d Added support for vcxproj ExcludedFromBuild.
- bf099d1 Import project: handle forced include files from compilation database projects.
- 3a9750e Flexible handling of -isystem, --sysroot and -I flags in compile_commands.json through the script tweak-compile_commands.py.
Infrastructure & dependencies:
- 4e62f0c Fix #14614 Optionally provide comments in preprocessor output (BuildCache).
- ff4d7ce Fix #14987 Update simplecpp to 1.9.1.
Other:
- 1fb6630 Added configuration file for Microsoft.GSL (Guideline Support Library).
- 167f49d, 5aec67c, 767ace6 man/checkers: documented remaining checkers and fixed guideline classifications for MISRA C++.
2.21.0 4 de junio de 2026 — 64 bits MSI
Notas de la versión
Release Notes for Cppcheck 2.21
Major bug fixes & crashes:
- Fixed potential crash with incomplete preprocessor directive
- Fixed hang in createAst
- Fixed invalid AST for braced initialization and references/pointers
- Fixed cppcheckError with array typedef
- Fixed recheck which now correctly excludes non selected files
- Fixed potential crash when rechecking files in gui
New checks:
- MISRA C 2012 rule 10.3 now warns on assigning integer literals 0 and 1 to bool in C99 and later while preserving the existing C89 behavior.
- funcArgNamesDifferentUnnamed warns on function declarations/definitions where a parameter in either location is unnamed
- uninitMemberVarNoCtor warns on user-defined types where (1) some but not all members requiring initialization have in-class initializers or (2) there is a mixture of members which do/do not require initialization.
- fcloseInLoopCondition warns when fclose() is used as a while loop condition, which may skip the loop body or double-close the file handle.
C/C++ support:
- import project: include path in compile_commands.json now handled correctly
GUI:
- Removed handling of Cppcheck Premium LOC license
Other:
- Make it possible to specify the regular expression engine using the engine element in a rule XML.
- Added CLI option --exitcode-suppress to specify an error ID which should not result in a non-zero exitcode.
- Moved source code from https://github.com/danmar/cppcheck to https://github.com/cppcheck-opensource/cppcheck
- The official Windows binary is now built with Visual Studio 2026.
- Updated simplecpp to 1.7.0.
2.20.0 2 de marzo de 2026 — 64 bits MSI
Notas de la versión
Release Notes for Cppcheck 2.20
GUI:
- Fix: The Misra C checkbox in "Edit Project" dialog is unchecked after reloading project.
- Fix: In the Misra Report, use proper icons according to misra classifications
- Fix: The platform files are not shown in the dropdown in ProjectFileDialog
- Troubleshooting: detailed progress view that shows what files the threads are working on
Changed interface:
- removed CMake option "DISABLE_CRTDBG_MAP_ALLOC"
- CMake option "BUILD_TESTS" has been deprecated and will be removed in Cppcheck 2.22 - use "BUILD_TESTING" instead
Other:
- The built-in "win*" and "unix*" platforms will now default to signed char type instead of unknown signedness. If you require unsigned chars please specify "--funsigned-char"
- bumped minimum required CMake version to 3.22
- Support inline polyspace suppressions
2.19.0 21 de diciembre de 2025 — 64 bits MSI
Notas de la versión
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
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
Performance:
- Introduced cache for followAllReferences() calls
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.
- 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 Visual Studio builds not longer set the WIN32 define.
- Added DISALLOW_PROCESS_EXECUTOR for building without fork().
The changes focus heavily on stability (crash fixes), C/C++ compatibility, reducing false positives, and improving performance.
2.18.0 20 de julio de 2025 — 64 bits MSI
2.17.1 26 de febrero de 2025 — 64 bits MSI
2.16.0 27 de octubre de 2024 — 64 bits MSI
2.15.0 31 de agosto de 2024 — 64 bits MSI
2.14.2 22 de junio de 2024 — 64 bits MSI
2.14.1 27 de mayo de 2024 — 64 bits MSI
2.14.0 21 de abril de 2024 — 64 bits MSI
2.13.0 23 de diciembre de 2023 — 64 bits MSI
2.12.0 10 de septiembre de 2023 — 64 bits MSI
Notas de la versión
- uselessOverride finds overriding functions that either duplicate code from or delegate back to the base class implementation
- knownPointerToBool finds pointer to bool conversions that are always true or false
- truncLongCastAssignment and truncLongCastReturn check additional types, including float/double/long double
- duplInheritedMember also reports duplicated member functions
- constParameter/constVariable checks find more instances of pointers/references that can be const, e.g. when calling library functions
- Show in statistics which checkers have been activated in latest analysis
- Make it more visible if there has been critical errors that caused checkers to be skipped
- Write how many checkers was activated after a run
- Added --checkers-report that can be used to generate a report in a file that shows what checkers was activated and disabled
- The qmake build system has been deprecated and will be removed in a future version.
- Command-line option '--template <template>' is deprecated and will be removed in 2.13 - please use '--template=<template>' instead.
- Command-line option '--template-location <template>' is deprecated and will be removed in 2.13 - please use '--template-location=<template>' instead.
- "USE_QT6=On" will no longer fallback to Qt5 when Qt6 is not found.
- When the execution of an addon fails with an exitcode it will now result in an 'internalError' instead of being silently ignored.
- "Win32" configurations have been removed from the bundled Visual Studio solution and projects.
You might still be able to build 32-bit binaries using CMake but that is untested and unmaintained.
2.11 22 de junio de 2023 — 64 bits MSI
Notas de la versión
- pop_back on empty container is UB
- Improve useStlAlgorithm check to handle many more conditions in the loop for any_of, all_of and none_of algorithms
- ValueFlow can evaluate the return value of functions even when conditionals are used
- ValueFlow will now forward the container sizes being returned from a function
- ValueFlow can infer possible values from possible symbolic values
- Improve valueflow after pushing to container
- The platform type 'Unspecified' within .cppcheck projects has been deprecated and will be removed in Cppcheck 2.14.
Please use 'unspecified' instead.
- Do not replace relative paths with absolute paths in suppressions in the project file dialog
- The new option --check-level=<level> has been added that controls how much checking is made by Cppcheck.
The default checking level is "normal".
If you feel that you can wait longer on results you can use --check-level=exhaustive.
- It is no longer necessary to run "--check-config" to get detailed "missingInclude" and "missingIncludeSystem" messages.
They will always be issued in the regular analysis if "missingInclude" is enabled.
- "missingInclude" and "missingIncludeSystem" are reported with "-j" is > 1 and processes are used in the backend (default in non-Windows binaries)
- "missingInclude" and "missingIncludeSystem" will now cause the "--error-exitcode" to be applied
- "--enable=information" will no longer implicitly enable "missingInclude" starting with 2.16.
Please enable it explicitly if you require it.
- The constParameter and constVariable checks have been split into 3 different IDs based on if the variable is a pointer, a reference, or local.
The different IDs will allow users to suppress different const warning based on variable type.
- constParameter
- constParameterReference
- constParameterPointer
- constVariable
- constVariableReference
- constVariablePointer
- More command-line parameters will now check if the given integer argument is actually valid.
Several other internal string-to-integer conversions will now be error checked.
- scanning projects (with -j1) will now defer the analysis of markup files until the whole code was processed
2.10 28 de enero de 2023 — 64 bits MSI
2.9 28 de agosto de 2022 — 64 bits MSI
2.8 21 de mayo de 2022 — 64 bits MSI
2.7 5 de febrero de 2022 — 64 bits MSI
2.6 3 de octubre de 2021 — 64 bits MSI
2.5 4 de julio de 2021 — 64 bits MSI
2.4.1 30 de mayo de 2021 — 64 bits MSI
2.3 30 de marzo de 2021 — 64 bits MSI