John Marriott wrote:
> On 08-Nov-2019 09:09, Bram Moolenaar wrote:
> > Patch 8.1.2269
> > Problem: Tags file with very long line stops using binary search.
> > Solution: Reallocate the buffer if needed.
> > Files: src/tag.c, src/testdir/test_tagjump.vim
> >
> Hi All,
>
> After this patch, mingw64 (gcc 9.2.1) spits out this error if
> FEAT_TAG_BINS is not defined:
> gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603
> -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DFEAT_GUI_MSWIN
> -DFEAT_CLIPBOARD -pipe -march=native -Wall -O3 -fomit-frame-pointer
> -freg-struct-return tag.c -o gobjnative/tag.o
> tag.c: In function 'find_tags':
> tag.c:2247:3: error: 'search_info' undeclared (first use in this
> function); did you mean 'searchit'?
> 2247 | search_info.curr_offset = 0;
> | ^~~~~~~~~~~
> | searchit
> tag.c:2247:3: note: each undeclared identifier is reported only once for
> each function it appears in
> make: *** [Make_cyg_ming.mak:1104: gobjnative/tag.o] Error 1
> make: Target 'gvim.exe' not remade because of errors.
>
> I'm not sure how to fix it though.
Adding an #ifdef will fix it.
However, I wonder why you build without FEAT_TAG_BINS. That's really
only for when using EBCDIC (VMS build), then sorting won't work.
--
hundred-and-one symptoms of being an internet addict:
40. You tell the cab driver you live at
http://123.elm.street/house/bluetrim.html
41. You actually try that 123.elm.street address.
/// 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/201911082057.xA8KvNZA002853%40masaka.moolenaar.net.