vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Command line error: Incompatible language mode specified

Open tianqiong123 opened this issue 3 years ago • 1 comments

Issue Type: Bug

When I created a C file, the console displaied the error message "Command line error: Incompatible language mode specified"

Extension version: 1.11.4 VS Code version: Code 1.69.2 (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:14:10.636Z) OS version: Linux x64 5.15.0-41-generic snap Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (4 x 2208)
GPU Status 2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 0, 0, 0
Memory (System) 1.90GB (0.07GB free)
Process Argv --no-sandbox --force-user-env --unity-launch --crash-reporter-id ed1fe25b-515f-4161-a149-21e81dfe2d9f
Screen Reader no
VM 100%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE wayland
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912:30529769
vsclangdf:30486550
c4g48928:30534994

tianqiong123 avatar Jul 27 '22 09:07 tianqiong123

@David-tianqiong Could you provide additional logs by following the instructions at https://code.visualstudio.com/docs/cpp/enable-logging-cpp#_enable-logging-for-the-language-server?

michelleangela avatar Jul 27 '22 18:07 michelleangela

This issue has been closed because it needs more information and has not had recent activity.

github-actions[bot] avatar Sep 26 '22 11:09 github-actions[bot]