This error occurs because in the new version Cppcheck (2.12.0) is in the last line write how many checkers was activated after a run (Like: Active checkers: 107/565) and C/C++ Advanced Lint does not yet know how to parse this correctly.įor hot fix it need to add flag in c_cpp_properties. Stacktrace: Error: Line could not be parsed: Active checkers: 107/565 (use -checkers-report= to see details) at /Users/ingram/.vscode/extensions/jbenden.c-cpp-flylint-1.13.1/server/out/server.js:2:12689 at Array.forEach () at a.parseLines (/Users/ingram/.vscode/extensions/jbenden.c-cpp-flylint-1.13.1/server/out/server.js:2:12438) at a.lint (/Users/ingram/.vscode/extensions/jbenden.c-cpp-flylint-1.13.1/server/out/server.js:2:12341) at /Users/ingram/.vscode/extensions/jbenden.c-cpp-flylint-1.13.1/server/out/server.js:2:21825 at Array.forEach () at Function.B (/Users/ingram/.vscode/extensions/jbenden.c-cpp-flylint-1.13.1/server/out/server.js:2:21800) Please analyze the 'C/C++ FlyLint' Output console. 'Line could not be parsed: Active checkers: 107/565 (use -checkers-report= to see details)' while validating: /Users/ingram/kohi/engine/src/core/test.c. For instance, you can compile (but not necessarily link) with gcc + msvc + your normal target compiler.I tried to use the C/C++ Advanced Lint with Cppcheck-2.12.0 and got an error: If you want to enforce these you can use compilers. The rules 1.1 and 1.2 will not be handled by Cppcheck. In the table below we show checkers that are included/missing in latest Cppcheck. The readme.txt describes the available flags. Compiling: From now on, use FILESDIR instead of CFGDIR to specify the path for Cppcheck data files. If you want to get warnings in the old format, add -templatecppcheck1 to the command line. Together with a C compiler you get full coverage. Command line: The default warning message format was changed. Cppcheck covers almost all the MISRA C 2012 rules.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |