Hi,

On Sun, Nov 11, 2018 at 10:40 AM John Marriott
<basil...@internode.on.net> wrote:
>
> On 12-Nov.-2018 01:21, Bram Moolenaar wrote:
> > Patch 8.1.0519
> > Problem:    Cannot save and restore the tag stack.
> > Solution:   Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
> >              closes #3604)
> > Files:            runtime/doc/eval.txt, runtime/doc/tagsrch.txt,
> >              runtime/doc/usr_41.txt, src/alloc.h, src/dict.c, 
> > src/evalfunc.c,
> >              src/list.c, src/misc2.c, src/proto/dict.pro, 
> > src/proto/list.pro,
> >              src/proto/misc2.pro, src/proto/tag.pro, src/tag.c,
> >              src/testdir/test_tagjump.vim
> >
> After this patch, mingw-64 throws this error if FEAT_QUICKFIX is not
> defined:
>

How are you building Vim and how are you disabling FEAT_QUICKFIX?
Are you manually editing feature.h to disable FEAT_QUICKFIX?

>
> gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603
> -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DFEAT_MBYTE -pipe
> -march=native -Wall -O3 -fomit-frame-pointer -freg-struct-return -s
> evalfunc.c -o objnative/evalfunc.o
> In file included from evalfunc.c:15:
> evalfunc.c: In function 'f_settagstack':
> evalfunc.c:11194:9: error: 'e_stringreq' undeclared (first use in this
> function); did you mean 'f_string'?
>    EMSG(_(e_stringreq));
>           ^~~~~~~~~~~
> vim.h:1627:39: note: in definition of macro 'EMSG'
>   #define EMSG(s)       emsg((char_u *)(s))
>                                         ^
> evalfunc.c:11194:7: note: in expansion of macro '_'
>    EMSG(_(e_stringreq));
>         ^
> evalfunc.c:11194:9: note: each undeclared identifier is reported only
> once for each function it appears in
>    EMSG(_(e_stringreq));
>           ^~~~~~~~~~~
> vim.h:1627:39: note: in definition of macro 'EMSG'
>   #define EMSG(s)       emsg((char_u *)(s))
>                                         ^
> evalfunc.c:11194:7: note: in expansion of macro '_'
>    EMSG(_(e_stringreq));
>         ^
>
> The attached patch tries to fix it. Please check.
>

The patch looks good to me.

Regards,
Yegappan

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui