On Mon, Jan 14, 2019 at 8:17 PM Bram Moolenaar <[email protected]> wrote:
>
>
> Patch 8.1.0745
> Problem:    Compiler warnings for signed/unsigned string.
> Solution:   Remove type casts. (John Marriott)
> Files:      src/ex_docmd.c, src/mbyte.c

After this patch, there is one signedness warning in Small and Tiny
only, as follows. Make doesn't halt and an executable is produced.

linux-2iyu:~/.build/vim/vim-hg/src/shadow-tiny # (make || echo 'exit
status' $? ; date) 2>&1 |tee -a make.log
...
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 ‘eval_vars’:
ex_docmd.c:10945:17: warning: pointer targets in assignment differ in
signedness [-Wpointer-sign]
       *errormsg = (char_u *)_("E809: #< is not available without the
+eval feature");
                 ^
...
link.sh: Linked fine

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

Raspunde prin e-mail lui