Build failure in Tiny and Small after applying patches 8.2 2680-2681

4 views
Skip to first unread message

Tony Mechelynck

unread,
Mar 31, 2021, 5:23:33 PM3/31/21
to Bram Moolenaar, vim_dev
After applying 8.2 patches 2680-2681, I get he following errors in
Tiny and Small:

linux-tuxedo:~/.build/vim/vim-hg/src/shadow-tiny # (make || echo 'exit
status' $? ; date) 2>&1 |tee -a make.log
gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall
-Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
-o objects/evalvars.o evalvars.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall
-Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
-o objects/vim9script.o vim9script.c
vim9script.c: In function ‘current_script_is_vim9’:
vim9script.c:41:12: warning: implicit declaration of function
‘SCRIPT_ID_VALID’; did you mean ‘COLOR_INVALID’?
[-Wimplicit-function-declaration]
return SCRIPT_ID_VALID(current_sctx.sc_sid)
^~~~~~~~~~~~~~~
COLOR_INVALID
vim9script.c:41:41: error: ‘sctx_T {aka struct <anonymous>}’ has no
member named ‘sc_sid’; did you mean ‘sc_version’?
return SCRIPT_ID_VALID(current_sctx.sc_sid)
^~~~~~
sc_version
vim9script.c:42:9: warning: implicit declaration of function
‘SCRIPT_ITEM’ [-Wimplicit-function-declaration]
&& SCRIPT_ITEM(current_sctx.sc_sid)->sn_version
^~~~~~~~~~~
vim9script.c:42:34: error: ‘sctx_T {aka struct <anonymous>}’ has no
member named ‘sc_sid’; did you mean ‘sc_version’?
&& SCRIPT_ITEM(current_sctx.sc_sid)->sn_version
^~~~~~
sc_version
vim9script.c:44:1: warning: control reaches end of non-void function
[-Wreturn-type]
}
^
make: *** [Makefile:3557: objects/vim9script.o] Error 1
exit status 2
Wed 31 Mar 23:18:54 CEST 2021
linux-tuxedo:~/.build/vim/vim-hg/src/shadow-tiny #


Best regards,
Tony.
Reply all
Reply to author
Forward
0 new messages