John Marriott wrote:

> On 03-Sep-2019 06:32, Bram Moolenaar wrote:
> > Patch 8.1.1966
> > Problem:    Some code in options.c fits better elsewhere.
> > Solution:   Move functions from options.c to other files. (Yegappan
> >              Lakshmanan, closes #4889)
> > Files:          src/evalfunc.c, src/globals.h, src/indent.c, src/map.c,
> >              src/option.c, src/proto/map.pro, src/proto/option.pro,
> >              src/proto/quickfix.pro, src/proto/screen.pro, 
> > src/proto/spell.pro,
> >              src/proto/window.pro, src/quickfix.c, src/screen.c, 
> > src/spell.c,
> >              src/window.c
> 
> After this patch, gcc (mingw) throws these errors:
> 
> gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 
> -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DFEAT_GUI_MSWIN -DFEA
> T_CLIPBOARD -pipe -march=native -Wall -O3 -fomit-frame-pointer 
> -freg-struct-return evalfunc.c -o gobjnative/evalfunc.o
> evalfunc.c:567:31: error: 'f_getloclist' undeclared here (not in a 
> function); did you mean 'f_getjumplist'?
>    567 |     {"getloclist", 1, 2, 0, f_getloclist},
>        | ^~~~~~~~~~~~
>        | f_getjumplist
> evalfunc.c:571:30: error: 'f_getqflist' undeclared here (not in a 
> function); did you mean 'f_taglist'?
>    571 |     {"getqflist", 0, 1, 0, f_getqflist},
>        | ^~~~~~~~~~~
>        | f_taglist
> evalfunc.c:780:31: error: 'f_setloclist' undeclared here (not in a 
> function); did you mean 'f_str2list'?
>    780 |     {"setloclist", 2, 4, 0, f_setloclist},
>        | ^~~~~~~~~~~~
>        | f_str2list
> evalfunc.c:783:30: error: 'f_setqflist' undeclared here (not in a 
> function); did you mean 'f_str2list'?
>    783 |     {"setqflist", 1, 3, 0, f_setqflist},
>        | ^~~~~~~~~~~
>        | f_str2list
> make: *** [Make_cyg_ming.mak:1095: gobjnative/evalfunc.o] Error 1
> make: Target 'gvim.exe' not remade because of errors.

I don't see how this can happen.  Did you not merge part of the change,
especially in src/quickfix.c ?

-- 
hundred-and-one symptoms of being an internet addict:
169. You hire a housekeeper for your home page.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201909022116.x82LGg2g024625%40masaka.moolenaar.net.

Raspunde prin e-mail lui