Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Run an advanced config #112

@PJ127

Description

@PJ127

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions