Have the same error with debian: evalvars.c: In function ‘set_var_const’: evalvars.c:3258:3: error: too few arguments to function ‘update_vim9_script_var’ update_vim9_script_var(FALSE, di, flags, tv, &type); ^~~~~~~~~~~~~~~~~~~~~~ In file included from proto.h:236, from vim.h:2165, from evalvars.c:14: proto/vim9script.pro:15:6: note: declared here void update_vim9_script_var(int create, dictitem_T *di, int flags, typval_T *tv, type_T **type, int do_member); ^~~~~~~~~~~~~~~~~~~~~~ evalvars.c:3356:6: error: too few arguments to function ‘update_vim9_script_var’ update_vim9_script_var(TRUE, di, flags, tv, &type); ^~~~~~~~~~~~~~~~~~~~~~ In file included from proto.h:236, from vim.h:2165, from evalvars.c:14: proto/vim9script.pro:15:6: note: declared here void update_vim9_script_var(int create, dictitem_T *di, int flags, typval_T *tv, type_T **type, int do_member); ^~~~~~~~~~~~~~~~~~~~~~
вторник, 13 апреля 2021 г. в 22:08:25 UTC+3, basi...@internode.on.net: > > On 14-Apr-2021 04:54, Bram Moolenaar wrote: > > Patch 8.2.2759 > > Problem: Vim9: for loop infers type of loop variable. > > Solution: Do not get the member type. (closes #8102) > > Files: src/vim9type.c, src/proto/vim9type.pro, src/list.c, > > src/vim9script.c, src/proto/vim9script.pro, src/vim.h, > > src/testdir/test_vim9_script.vim > > > > > After this patch mingw64 (gcc 10.3.0) spits out this error: > <snip> > gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 > -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -D__USE_MINGW_ANSI_STDIO > -pipe -march=native -Wall -O3 -fomit-frame-pointer -freg-struct-return > -fpie -fPIE evalvars.c -o objnative/evalvars.o > evalvars.c: In function 'set_var_const': > evalvars.c:3258:3: error: too few arguments to function > 'update_vim9_script_var' > 3258 | update_vim9_script_var(FALSE, di, flags, tv, &type); > | ^~~~~~~~~~~~~~~~~~~~~~ > In file included from proto.h:236, > from vim.h:2165, > from evalvars.c:14: > proto/vim9script.pro:15:6: note: declared here > 15 | void update_vim9_script_var(int create, dictitem_T *di, int > flags, typval_T *tv, type_T **type, int do_member); > | ^~~~~~~~~~~~~~~~~~~~~~ > evalvars.c:3356:6: error: too few arguments to function > 'update_vim9_script_var' > 3356 | update_vim9_script_var(TRUE, di, flags, tv, &type); > | ^~~~~~~~~~~~~~~~~~~~~~ > In file included from proto.h:236, > from vim.h:2165, > from evalvars.c:14: > proto/vim9script.pro:15:6: note: declared here > 15 | void update_vim9_script_var(int create, dictitem_T *di, int > flags, typval_T *tv, type_T **type, int do_member); > | ^~~~~~~~~~~~~~~~~~~~~~ > make: *** [Make_cyg_ming.mak:1145: objnative/evalvars.o] Error 1 > </snip> > > Cheers > John > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/e129afb4-1708-4d44-8ee4-31932e6a4efan%40googlegroups.com.