On 08/07/08 12:45, Bram Moolenaar wrote:
>
> Patch 7.2a.018
> Problem:    Compiler warnings when compiling with Gnome. (Tony Mechelynck)
> Solution:   Add type casts.
> Files:            src/gui_gtk_x11.c

This indeed removes most of the compiler warnings for that module. :-)
The only message I get is now:

> gui_gtk_x11.c: In function ‘gui_mch_init’:
> gui_gtk_x11.c:3420: warning: not enough variable arguments to fit a sentinel

which you said earlier you don't know how to fix without causing further 
errors. This is a warning (not an error) anyway, AFAICT it doesn't 
prevent gvim from working well.

Just in case someone else would know how to make that warning disappear, 
here's the context:

> # ifdef HAVE_GTK2
>       gnome_program_init(VIMPACKAGE, VIM_VERSION_SHORT,
>                          LIBGNOMEUI_MODULE, gui_argc, gui_argv, NULL);
> # else


Best regards,
Tony.
-- 
I have a simple philosophy:

        Fill what's empty.
        Empty what's full.
        Scratch where it itches.
                -- A. R. Longworth

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to