On 07/02/08 21:05, Bram Moolenaar wrote:
>
> Patch 7.2a.012
> Problem: Compiler warnings for casting int to pointer.
> Solution: Add cast to long in between. (Martin Toft)
> Files: src/gui_gtk_x11.c
I get the following warnings. AFAICT they don't prevent a functioning
gvim from being produced. I suppose they've been there for some time but
compiling only the single module (and version.c) made them stand out.
> gui_gtk_x11.c: In function ‘gui_mch_init_check’:
> gui_gtk_x11.c:1595: warning: pointer targets in passing argument 2 of
> ‘dcgettext’ differ in signedness
> gui_gtk_x11.c: In function ‘sm_client_die’:
> gui_gtk_x11.c:2350: warning: pointer targets in passing argument 2 of
> ‘vim_strncpy’ differ in signedness
> gui_gtk_x11.c: In function ‘gui_mch_init’:
> gui_gtk_x11.c:3419: warning: not enough variable arguments to fit a sentinel
> gui_gtk_x11.c: In function ‘gui_mch_get_font’:
> gui_gtk_x11.c:5247: warning: pointer targets in passing argument 2 of
> ‘dcgettext’ differ in signedness
Best regards,
Tony.
--
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.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---