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.
The file compiles.
9.1.2077
Windows 11 Pro
clang 21.1.8
msys2
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.![]()
fixed as of dc47097
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()