Re: [vim/vim] patch 9.1.2077: Vim9: type issue when appending item to a list (949e3be)

7 views
Skip to first unread message

John Marriott

unread,
Jan 10, 2026, 2:43:32 PM (2 days ago) Jan 10
to vim/vim, Subscribed

After this patch, clang (21.1.8) on Win 11 Pro gives this error:

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

The attached patch is a possible fix.

Cheers
John

list.c.9.1.2077.patch


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/commit/949e3be916e37dfaf87309fcf33fdd326b26f32c/174323542@github.com>

Brian Lindholm

unread,
Jan 10, 2026, 6:52:14 PM (2 days ago) Jan 10
to vim/vim, Subscribed

After this patch, clang (21.1.8) on Win 11 Pro gives this error if FEAT_JOB_CHANNEL is not defined:

The attached patch is a possible fix.

I concur. I also have the FEAT_JOB_CHANNEL disabled on my Debian forky/testing system, and I get a very similar error message from gcc. John's patch appears to work, as vim builds and runs normally if I use it.


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

Reply all
Reply to author
Forward
0 new messages