Skip to content
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

BUG #8679

Closed
ROSHTU opened this issue Jan 16, 2022 · 2 comments
Closed

BUG #8679

ROSHTU opened this issue Jan 16, 2022 · 2 comments
Assignees

Comments

@ROSHTU
Copy link

ROSHTU commented Jan 16, 2022

Existing issue posted by me on github microsoft/vscode#140705 (comment)

We have written the
Issue Type: Bug

int x;
printf("Enter the size : ");
scanf("%d",&x);
// the below error is a bug in vs code extension it does not harm the functioning of the program
bd b[x];
on writing the above given code i found out that a red line appears on x in bd b[x]; which denotes an error but on running the program it does not disrupts the functioning of the program

Extension version: 1.8.0-insiders2
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2112)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.83GB (26.21GB free)
Process Argv --crash-reporter-id 53e61994-1cd4-451a-a4ff-08743a6389ee
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vscop804:30404766
vscop453:30404998
vsrem710:30416614
vsccppwtstudy:30421978

needed data into your clipboard because it was too large to send. Please paste.
@sean-mcmanus sean-mcmanus self-assigned this Jan 18, 2022
@sean-mcmanus
Copy link
Collaborator

This is a duplicate of #8581 and should be fixed with our pending 1.8.0-insiders3 (or by downgrading to 1.7.1). Also, you should be able to work around it by adding a compilerArg of -fno-ms-extensions.

@sean-mcmanus
Copy link
Collaborator

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 ).

@github-actions github-actions bot locked and limited conversation to collaborators Mar 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants