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

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

iustusae opened this issue · comments

'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)

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"
]

I solve the same issue with this setting.

I also could reproduce the error and the fix