Skip to content

Non-English gcc querying doesn't work #4542

@xspeed1989

Description

@xspeed1989
{
    "configurations": [
        {
            "name": "Linux",
            "includePath": [
                "${workspaceFolder}/**",
                "/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/**"
            ],
            "defines": [],
            "compilerPath": "/usr/bin/gcc",
            "cStandard": "c11",
            "cppStandard": "c++17",
            "intelliSenseMode": "gcc-x64",
            "compileCommands": "/home/john/Project/Cpp/test/build/compile_commands.json"
        }
    ],
    "version": 4
}

image

When i set compileCommands , it gets a green squiggly saying that it can not load one of it's dependencies and to edit the include path
it seem to be when compileCommands is set,includePath will be ignored, then i set forceinclude,but it dosn't work

the file is in /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include

my os is manjaro latest

Metadata

Metadata

Assignees

Labels

Feature: ConfigurationAn issue related to configuring the extension or IntelliSenseLanguage ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.quick fixworld readyAn issue relating string character encodings, localization translations, etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions