Ken Takata wrote:

> When I compile on Cygwin, I get following warnings:
> 
> mbyte.c: In function 'encname2codepage':
> mbyte.c:4111:2: warning: pointer targets in passing argument 1 of 'atoi' 
> differ in signedness [-Wpointer-sign]
> In file included from os_unix.h:33:0,
>                  from vim.h:271,
>                  from mbyte.c:80:
> /usr/include/stdlib.h:66:5: note: expected 'const char *' but argument is of 
> type 'char_u *'
> ui.c: In function 'clip_gen_own_selection':
> ui.c:1401:5: warning: implicit declaration of function 
> 'clip_mch_own_selection' [-Wimplicit-function-declaration]
> ui.c: In function 'clip_gen_lose_selection':
> ui.c:1417:5: warning: implicit declaration of function 
> 'clip_mch_lose_selection' [-Wimplicit-function-declaration]
> ui.c: In function 'clip_gen_set_selection':
> ui.c:1433:5: warning: implicit declaration of function 
> 'clip_mch_set_selection' [-Wimplicit-function-declaration]
> ui.c: In function 'clip_gen_request_selection':
> ui.c:1449:5: warning: implicit declaration of function 
> 'clip_mch_request_selection' [-Wimplicit-function-declaration]
> 
> Attached patch fixes them.

Thanks!

-- 
Veni, Vidi, VW -- I came, I saw, I drove around in a little car.

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


Raspunde prin e-mail lui