John Marriott wrote:

> On 11-Jan-2021 06:23, Bram Moolenaar wrote:
> > Patch 8.2.2324
> > Problem:    Not easy to get mark en cursor posotion by character count.
> > Solution:   Add functions that use character index. (Yegappan Lakshmanan,
> >              closes #7648)
> > Files:      runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
> >              src/evalfunc.c, src/proto/eval.pro, src/tag.c,
> >              src/testdir/test_cursor_func.vim, src/typval.c
> >
> >
> After this patch, mingw64 (gcc 10.2) spits out this linker error if 
> FEAT_SPELL is not defined:

[...]

> The function mb_charlen_len() is defined conditionally (dependent on 
> FEAT_SPELL being defined) in mbyte.c.
> The attached patch tries to fix it.

Thanks.  A bit more precise is to check for FEAT_EVAL.

-- 
hundred-and-one symptoms of being an internet addict:
123. You ask the car dealer to install an extra cigarette lighter
     on your new car to power your notebook.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202101102156.10ALuw6U464389%40masaka.moolenaar.net.

Raspunde prin e-mail lui