---
title: Cppcheck Open-Source 2.10 released
description: Cppcheck Open-Source 2.10 released with significant improvements, new checks, and build changes. Learn about the latest features and updates in this release.
---

[Cppcheck News](https://www.cppcheck.com/product-news)

# [Cppcheck Open-Source 2.10 released](https://www.cppcheck.com/product-news/cppcheck-open-source-2.10-released)

 Written by [Daniel Marjamäki](https://www.cppcheck.com/product-news/author/daniel-marjamäki) | Jan 28, 2023, 8:00:00 PM

We are happy to announce the release of Cppcheck Open-Source 2.10!

This update brings significant improvements and fixes to checkers, with a notable change in Windows binaries' default platform to 'native' starting from Cppcheck 2.13. A new check encourages the use of \`memset\`/\`memcpy\` over loops. On the CLI, it introduces error handling for inaccessible files via "--file-list" and a "--disable=" option to turn off specific checks. The GUI now alerts users to outdated versions and resolves path issues with backslashes, also cleaning up \`\*.ctu-info\` files post-analysis. Build changes include the removal of the deprecated \`SRCDIR\` Makefile option and a new CMake option \`BUILD\_CORE\_DLL\` for creating \`cppcheck-core.dll\` with Visual Studio.

Release notes:

- 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

[View full post](https://www.cppcheck.com/product-news/cppcheck-open-source-2.10-released)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Daniel Marjamäki"
  },
  "dateModified" : "2024-03-28T11:04:07.156Z",
  "datePublished" : "2023-01-28T20:00:00Z",
  "headline" : "Cppcheck Open-Source 2.10 released",
  "image" : {
    "@type" : "ImageObject",
    "height" : 60,
    "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
    "width" : 60
  },
  "mainEntityOfPage" : "https://www.cppcheck.com/product-news/cppcheck-open-source-2.10-released",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "Cppcheck News"
  }
}
```