-
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
identifier "__auto_type" is undefined of atomic_store #2175
Comments
A previous issue with the same error is #1448 , but that got fixed by setting the compilerPath to gcc. My best guess is that we're not able to query the compiler you're using for the correct includes/defines (i.e. this works for me with the normal gcc compiler). Can you set your C_Cpp.loggingLevel temporarily to "Debug" and then open a C/C++ file to see in the C/C++ Output pane what the problem is? I don't think we've ever tested with that version of the gcc compiler (although we have tested with other arm gcc compilers). |
Oops, actually, I am hitting the "__auto_type" issue with gcc-6 (not clang though). Looks like our parser isn't configured correctly to handle the __auto_type gcc extension. I couldn't work around the issue via forcing the --gcc or --gnu_version. I'm not sure when we'll get around to fixing this... |
I'm sorry, I deleted too much config when removing personal info. "includePath" and "path" had config: |
Should be fixed in our next release...we weren't using the gcc version correctly to configure our parser (see #2317 ). UPDATE: A fix is available in our 0.17.8-insiders release at https://github.com/Microsoft/vscode-cpptools/releases/tag/v0.17.8-insiders . |
Just installed v0.17.8-insiders and all the error prompting disappeared. |
Type: LanguageService
Describe the bug
for
atomic_store
promptingidentifier "__auto_type" is undefined
To Reproduce
c_cpp_properties.json
:Expected behavior
do not prompting
identifier "__auto_type" is undefined
for usingatomic_store
of C 11 standardThe text was updated successfully, but these errors were encountered: