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

Some time all typedef enum give re-declared error when delete --no warnings in file msvc.json #3685

Closed
JasonLeeCn opened this issue May 24, 2019 · 2 comments
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix
Milestone

Comments

@JasonLeeCn
Copy link

Issue Type: Bug

When delete "--no_warnings" line in file "msvc.json".
In some complex project (code files forlder) all typedef enum type given an error as follow:
"typedef name has already been declared (with similar type)" in all hearder files. But some projects no this problem. I checked the typedef enum, it just define one times.

Extension version: 0.23.1
VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:37.030Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 x 2496)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.66GB (4.10GB free)
Screen Reader no
VM 0%
@sean-mcmanus sean-mcmanus self-assigned this May 24, 2019
@sean-mcmanus sean-mcmanus added bug Language Service quick fix fixed Check the Milestone for the release in which the fix is or will be available. labels May 24, 2019
@sean-mcmanus sean-mcmanus added this to the June 2019 milestone May 24, 2019
@sean-mcmanus
Copy link
Collaborator

It repros with .c files (possibly other projects are using C++).

@sean-mcmanus sean-mcmanus removed their assignment May 24, 2019
@sean-mcmanus
Copy link
Collaborator

Fixed with 0.24.0-insiders (available by setting "C_Cpp.updateChannel" to "Insiders").

@github-actions github-actions bot locked and limited conversation to collaborators Oct 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix
Projects
None yet
Development

No branches or pull requests

2 participants