cppcheclipse icon indicating copy to clipboard operation
cppcheclipse copied to clipboard

Run an advanced config

Open PJ127 opened this issue 3 years ago • 0 comments

Hello. In Eclipse, I filled up the Advanced Settings tab with: --inline-suppr --enable=all -j5 --project=D:\Dev\compil\EB\compile_commands.json --language=c++

but it does not seem to run this configuration. In particular, I would like to run cppcheck from my compile_commands.json file, to have no surprise with compilation parameters and to deal only with useful files, but it just runs cppcheck with normal parameters:

Output is:

== Running cppcheck at 14/02/2022 11:23 ==
Command line: C:\msys64\mingw64\bin\cppcheck --version
Cppcheck 2.3
Duration 318 ms.
== Running cppcheck at 14/02/2022 11:23 ==
Command line: C:\msys64\mingw64\bin\cppcheck --xml-version=2 --errorlist
<?xml version="1.0" encoding="UTF-8"?>
<results version="2">
    <cppcheck version="2.3"/>
    <errors>    
...

Thank you for your help and work.

Eclipse version : Eclipse IDE for C/C++ Developers (includes Incubating components) Version: 2021-12 (4.22.0) Build id: 20211202-1639

PJ127 avatar Feb 14 '22 10:02 PJ127