documentation updates for 0.17.0 by bobbrow · Pull Request #1952 · microsoft/vscode-cpptools
| ## 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. |
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.
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