Skip to content

Red squiggle despite correct file paths #2961

@dominik-dev

Description

@dominik-dev

Type: LanguageService

Describe the bug
Red squiggle under header files, only the first one, no matter which order.

  • OS and Version: Windows 10 Home
  • VS Code Version: 1.30.1
  • C/C++ Extension Version: 0.20.1
  • Other extensions you installed (and if the issue persists after disabling them): C/C++ Clang Commander Adapter, C++ IntelliSense, Code Runner (Jun Han). Tried uninstalling deleting folders and reinstalling everything; always same result as issue.
  • A clear and concise description of what the bug is.
    Red squiggle under header file.

My "c_cpp_properties.json" file:
{ "configurations": [ { "name": "Win32", "intelliSenseMode": "clang-x64", "includePath": [ "${workspaceRoot}", "C:/MinGW/lib/gcc/mingw32/6.3.0/include/c++", "C:/MinGW/lib/gcc/mingw32/6.3.0/include/c++/mingw32", "C:/MinGW/lib/gcc/mingw32/6.3.0/include/c++/backward", "C:/MinGW/lib/gcc/mingw32/6.3.0/include", "C:/MinGW/include", "C:/MinGW/lib/gcc/mingw32/6.3.0/include-fixed" ], "defines": [ "_DEBUG", "UNICODE", "__GNUC__=6", "__cdecl=__attribute__((__cdecl__))" ], "browse": { "path": [ "C:/MinGW/lib/gcc/mingw32/6.3.0/include", "C:/MinGW/lib/gcc/mingw32/6.3.0/include-fixed", "C:/MinGW/include/*" ], "limitSymbolsToIncludedHeaders": true, "databaseFilename": "" }, "compilerPath": "C:\\Program Files\\LLVM\\bin\\clang.exe", "cStandard": "c11", "cppStandard": "c++17" } ], "version": 4 }

Screenshots
image
image

Additional context
Using "C_Cpp.intelliSenseEngine": "Default"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions