Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

documentation updates for 0.17.0#1952

Merged
bobbrow merged 3 commits into
mastermicrosoft/vscode-cpptools:masterfrom
bobbrow/docsmicrosoft/vscode-cpptools:bobbrow/docsCopy head branch name to clipboard
May 8, 2018
Merged

documentation updates for 0.17.0#1952
bobbrow merged 3 commits into
mastermicrosoft/vscode-cpptools:masterfrom
bobbrow/docsmicrosoft/vscode-cpptools:bobbrow/docsCopy head branch name to clipboard

Conversation

@bobbrow

@bobbrow bobbrow commented May 7, 2018

Copy link
Copy Markdown
Member

No description provided.

Comment thread Documentation/LanguageServer/FAQ.md Outdated
## Why do I see red squiggles under Standard Library types?

The most common reason for this is missing or sorted include paths. If you are using a compiler in the GCC family, the system includes that you add to your `"includePath"` in **c_cpp_properties.json** should match the output of the following command: `gcc -Wp,-v -E -xc -x c++ /dev/null` (replace 'gcc' with whichever compiler you are using). GCC and its relatives require the paths to be in a specific order too, so sorting the paths for aesthetics will likely result in incorrect IntelliSense results.
The most common reason for this is missing include paths. If you are using a compiler in the GCC family, you should set `"compilerPath"` in **c_cpp_properties.json** to the path to your compiler and the extension will query the compiler for the system includes and defines. If you are using a Microsoft compiler from Visual Studio or Clang for Windows, don't add the `"compilerPath"` property to your configuration.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's up with this? clang for windows works with compilerPath.

@bobbrow bobbrow merged commit ba65c48 into master May 8, 2018
@bobbrow bobbrow deleted the bobbrow/docs branch May 8, 2018 22:01
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.