jbenden / vscode-c-cpp-flylint

A VS Code extension for advanced, modern, static analysis of C/C++ that supports a number of back-end analyzer programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Cppcheck-2.6

cvaliere opened this issue · comments

There has been a new release v2.6 on cppcheck

When using this version with your extension, files "cppcheck-addon-ctu-file-list" are created and don't disappear; and also some MISRA are not detected

(I can try to give more information if you need, but I think that if you install the v2.6 of cppcheck, you'll see what's happening)

I've resolved this (for now) by specifying a build-dir to at least keep the files out of my project. (make sure the directory exists).

  "c-cpp-flylint.cppcheck.extraArgs": [
        "--cppcheck-build-dir=C:\\Tools\\cppcheck\\build-dir"
    ],

I am the maintainer of Cppcheck. I think this is more a Cppcheck problem. Cppcheck shouldn't leave the ctu artifacts on disk.

I have the intention to work on it but I can't say when it will be fixed.