mitaki28 / vscode-clang

Completion and Diagnostic for C/C++/Objective-C using Clang
MIT License
128 stars 24 forks source link

iostream file not found #84

Open Rocinantee opened 5 years ago

Rocinantee commented 5 years ago

Issue Type: Bug

This problem always appear in my problemlist no matter which cpp files, I don't know how to figure it out ,and I can still compile and run this program,hope for your reply.

Extension version: 0.2.3 VS Code version: Code 1.37.1 (f06011ac164ae4dc8e753a3fe7f9549844d15e35, 2019-08-15T16:17:55.855Z) OS version: Windows_NT x64 10.0.17763

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2904)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.86GB (9.72GB free)| |Process Argv|| |Screen Reader|no| |VM|33%|
likeqc commented 3 years ago

same problem

jimmyyukio commented 3 years ago

I have the same problem

I added paths in c_cpp_properties.json , but it's useless

jimmyyukio commented 3 years ago

I solved the problem. I found that I set the parameter of 'clang.cxxflags' to 'x86_64-w64-mingw32' , but it‘s’ not a correct parameter for the GCC version of my system.

Now it's right.

CMingXiang commented 3 years ago

I still can't solve the problem