Merged
documentation updates for 0.17.0#1952
Conversation
sean-mcmanus
reviewed
May 8, 2018
| ## 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. |
Contributor
There was a problem hiding this comment.
What's up with this? clang for windows works with compilerPath.
sean-mcmanus
approved these changes
May 8, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.