On 08/07/08 13:47, Tony Mechelynck wrote: > 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.
Oh, and BTW, here are the versions of a few packages installed on my computer OS: openSUSE Linux 11.0 with all Online Updates as of today The following are according to rpm -qa gtk2-2.12.19-37.1 gtk2-devel-2.12.19-37.1 gnome-common-2.20.0-23.1 libgnome-2.22.0-30.1 libgnome-devel-2.22.0-30.1 libgnomeui-2.22.1-22.1 libgnomeui-devel-2.22.1-22.1 gcc-4.3-39.1 gcc-c++-4.3-39.1 gcc43-4.3.1_20080507-6.1 gcc43-c++-4.3.1_20080507-6.1 libgcc43-4.3.1_20080507-6.1 Best regards, Tony. -- hundred-and-one symptoms of being an internet addict: 54. You start tilting your head sideways to smile. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---