-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default include paths for Mac not sufficient (c_cpp_properties.json) #944
Comments
I am having the same error, I went into my |
@dmaisano try looking in |
Here is my copy if you still need it. |
@JeffreyCA, does |
@bobbrow Yes, |
I was able to test out your copy of the settings file and it does work, I must have done something wrong in my attempt at adding |
These are the settings I use for Windows and Mac, I appreciate the help @bobbrow @JeffreyCA :) |
We released 0.12.3 which adds this path by default now. The next time you create a new c_cpp_properties.json file, you will see the path added. |
The root cause for this is being tracked by new issue: #1005. Add |
Operating System: macOS
Version: 10.12.6
I have the following settings enabled:
I get include errors if I try to include the standard library
iostream
:In my
c_cpp_properties.json
file I have to add the following include path in order to resolve the include error:This is because the missing
endian.h
file is present in/usr/include/machine
.Could you please add this extra path to the default include path list for Mac?
The text was updated successfully, but these errors were encountered: