[vim/vim] Compile failure if FEAT_JOB_CHANEL is not defined (Issue #19174)

2 views
Skip to first unread message

John Marriott

unread,
3:30 PM (7 hours ago) 3:30 PM
to vim/vim, Subscribed
basilisk0315 created an issue (vim/vim#19174)

Steps to reproduce

After patch 9.1.2077, clang (21.1.8) on Win 11 Pro fails to compile list.c if FEAT_JOB_CHANNEL is not defined.

Expected behaviour

The file compiles.

Version of Vim

9.1.2077

Environment

Windows 11 Pro
clang 21.1.8
msys2

Logs and stack traces

clang -c -I. -Iproto -DWIN32 -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00 -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -D__USE_MINGW_ANSI_STDIO -pipe -Wall -O3 -fomit-frame-pointer -fpie -fPIE -Db_lto=true -Db_lto_mode=thin -march=native -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD list.c -o gobjx86-64/list.o
list.c:795:24: error: no member named 'v_job' in 'union typval_S::(unnamed at ./structs.h:1687:5)'
 795 |         case VAR_JOB: tv.vval.v_job = NULL; break;
      |                       ~~~~~~~ ^
list.c:796:28: error: no member named 'v_channel' in 'union typval_S::(unnamed at ./structs.h:1687:5)'
  796 |         case VAR_CHANNEL: tv.vval.v_channel = NULL; break;
      |                           ~~~~~~~ ^
2 errors generated.
make: *** [Make_cyg_ming.mak:1273: gobjx86-64/list.o] Error 1


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19174@github.com>

Christian Brabandt

unread,
4:33 PM (6 hours ago) 4:33 PM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19174)

fixed as of dc47097


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19174/3746664135@github.com>

Christian Brabandt

unread,
4:33 PM (6 hours ago) 4:33 PM
to vim/vim, Subscribed

Closed #19174 as completed.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/19174/issue_event/22028185815@github.com>

Reply all
Reply to author
Forward
0 new messages