On Wed, Apr 4, 2018 at 10:58 PM, Bram Moolenaar <b...@moolenaar.net> wrote:
>
> Patch 8.0.1660
> Problem:    The terminal API "drop" command doesn't support options.
> Solution:   Implement the options.
> Files:      src/terminal.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
>             src/ex_cmds.h, src/eval.c, src/misc2.c, src/fileio.c,
>             src/testdir/test_terminal.vim, runtime/doc/terminal.txt

Compile error in ex_docmd.c stopping the Tiny build (no error in Huge build):

gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fno-strength-reduce -Wall
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_docmd.o
ex_docmd.c
ex_docmd.c: In function ‘get_bad_opt’:
ex_docmd.c:5315:5: error: ‘exarg_T’ has no member named ‘bad_char’
  eap->bad_char = BAD_KEEP;
     ^
ex_docmd.c:5317:5: error: ‘exarg_T’ has no member named ‘bad_char’
  eap->bad_char = BAD_DROP;
     ^
ex_docmd.c:5318:5: warning: implicit declaration of function
‘MB_BYTE2LEN’ [-Wimplicit-function-declaration]
     else if (MB_BYTE2LEN(*p) == 1 && p[1] == NUL)
     ^
ex_docmd.c:5319:5: error: ‘exarg_T’ has no member named ‘bad_char’
  eap->bad_char = *p;
     ^
Makefile:3069: recipe for target 'objects/ex_docmd.o' failed
make: *** [objects/ex_docmd.o] Error 1
exit status 2


Best regards,
Tony.

-- 
-- 
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