Type: LanguageService
Describe the bug
- OS and Version: Ubuntu 16.04.4 LTS
- VS Code Version: 1.24.1
- C/C++ Extension Version: 0.17.5
- Other extensions you installed (and if the issue persists after disabling them): autoconf, Git History, Markdown TOC, Python, File Templates for VSCdoe
- A clear and concise description of what the bug is.
for atomic_store prompting identifier "__auto_type" is undefined
To Reproduce
c_cpp_properties.json:
{
"env": {
"defaultIncludePath": [
"${workspaceRoot}/include_internal",
"${workspaceRoot}/generated_files"
]
},
"configurations": [
{
"name": "Linux",
"intelliSenseMode": "clang-x64",
"includePath": [
"${workspaceRoot}/include_internal",
"${workspaceRoot}/generated_files"
],
"defines": [],
"compilerPath": "/opt/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc",
"cppStandard": "c++17",
"cStandard": "c11",
"browse": {
"path": [
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": "${workspaceFolder}/.vscode/browse.vc.db"
}
}
],
"version": 4
}
#include <stdatomic.h>
int main()
{
atomic_bool b_variable = ATOMIC_VAR_INIT(false);
atomic_store(&b_variable, true);
return 0;
}
Expected behavior
do not prompting identifier "__auto_type" is undefined for using atomic_store of C 11 standard
Type: LanguageService
Describe the bug
for
atomic_storepromptingidentifier "__auto_type" is undefinedTo Reproduce
c_cpp_properties.json:Expected behavior
do not prompting
identifier "__auto_type" is undefinedfor usingatomic_storeof C 11 standard