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.
MIT License
152 stars 29 forks source link

Line could not be parsed: Active checkers: 161/565' while validating .... #209

Closed iustusae closed 8 months ago

iustusae commented 10 months ago
'Line could not be parsed: Active checkers: 161/565' while validating: /Users/iustus/lcpp/8/8_quiz/lohi/lohi.cpp. Please analyze the 'C/C++ FlyLint' Output console. Stacktrace: Error: Line could not be parsed: Active checkers: 161/565
    at /Users/iustus/.vscode/extensions/jbenden.c-cpp-flylint-1.13.1/server/out/server.js:2:12689
    at Array.forEach (<anonymous>)
    at a.parseLines (/Users/iustus/.vscode/extensions/jbenden.c-cpp-flylint-1.13.1/server/out/server.js:2:12438)
    at a.lint (/Users/iustus/.vscode/extensions/jbenden.c-cpp-flylint-1.13.1/server/out/server.js:2:12341)
    at /Users/iustus/.vscode/extensions/jbenden.c-cpp-flylint-1.13.1/server/out/server.js:2:21825
    at Array.forEach (<anonymous>)
    at Function.B (/Users/iustus/.vscode/extensions/jbenden.c-cpp-flylint-1.13.1/server/out/server.js:2:21800)
ppvan commented 10 months ago

It said "Active checkers: 161/565" can't be parsed

You can disable this by telling cppcheck by quiet

cppcheck --quiet

or in vscode

"c-cpp-flylint.cppcheck.extraArgs": [
        "--quiet"
]
liaoya commented 9 months ago

I solve the same issue with this setting.

Joao-Peterson commented 9 months ago

I also could reproduce the error and the fix