-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
(C) VLA recognized as a bug in v1.8.0-insiders2 #8581
Comments
Hi @rico305 . Are you using a GCC compiler/IntelliSenseMode? I'm able to repro the issue if I use GCC on Windows. In my case, the issue appears to be related to |
Yes, I use GCC compiler - MinGW under Windows. You're right - adding |
Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/1.8.0-insiders3 or 1.8.0 (via using VS Code's "Pre-Release Version" UI or https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools&ssr=false#version-history ). Unless you're explicitly adding -fms-extensions, in which case that bug fix is still pending (#8353 ). |
Bug type: Language Service - Intellisens recognizes VLA as a bug
Describe the bug
Steps to reproduce
After creating VLA in C (C89 standard) IntelliSense marks every use of Variable Length Arrays as an error.
Code sample and logs
c_cpp_properties.json
: noneAdditional context
It works well with v1.7.1, but after switching to Insiders channel IntelliSense shows errors.
The text was updated successfully, but these errors were encountered: