I found this email still waiting as an unsent "draft" — and the
compiler warning in question is still there at the current patchlevel.
Sorry.

On Tue, Dec 29, 2015 at 6:56 PM, Bram Moolenaar <[email protected]> wrote:
>
> Patch 7.4.995
> Problem:    gdk_pixbuf_new_from_inline() is deprecated.
> Solution:   Generate auto/gui_gtk_gresources.c. (Kazunobu Kazunobu,
>             closes #507)
> Files:      src/Makefile, src/auto/configure, src/config.h.in,
>             src/config.mk.in, src/configure.in, src/gui_gtk.c,
>             src/gui_gtk_gresources.xml, src/gui_gtk_x11.c,
>             src/proto/gui_gtk_gresources.pro,
>             pixmaps/stock_vim_build_tags.png, pixmaps/stock_vim_find_help.png,
>             pixmaps/stock_vim_save_all.png,
>             pixmaps/stock_vim_session_load.png,
>             pixmaps/stock_vim_session_new.png,
>             pixmaps/stock_vim_session_save.png, pixmaps/stock_vim_shell.png,
>             pixmaps/stock_vim_window_maximize.png,
>             pixmaps/stock_vim_window_maximize_width.png,
>             pixmaps/stock_vim_window_minimize.png,
>             pixmaps/stock_vim_window_minimize_width.png,
>             pixmaps/stock_vim_window_split.png,
>             pixmaps/stock_vim_window_split_vertical.png

At patchlevel 7.4.998, after regenerating my shadowdir, which forces a
full reconfigure and build at next make, gcc still complains about the
same deprecated symbol, as follows:

gui_gtk.c: In function ‘add_stock_icon’:
gui_gtk.c:177:5: warning: ‘gdk_pixbuf_new_from_inline’ is deprecated
(declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:314)
[-Wdeprecated-declarations]
     pixbuf = gdk_pixbuf_new_from_inline(data_length, inline_data, FALSE, NULL);
     ^

The only *.c files in src/shadow-huge/auto/ are pathdef.c and
if_perl.c. Since I don't make changes in the Makefile I replace the
"copied" src/Makefile in the shadowdir by a softlink to the original.
This way I won't have to import possible Makefile changes later.

FWIW, I'm building with the following configure options, set by
sourcing (not executing) the following script in the same instance of
bash:

#!/bin/bash
export CONF_OPT_GUI='--enable-gnome-check'
export CONF_OPT_PERL='--enable-perlinterp'
export CONF_OPT_PYTHON='--enable-pythoninterp'
export CONF_OPT_TCL='--enable-tclinterp'
# /usr/bin/tclsh (softlink) is correctly set
export CONF_OPT_RUBY='--enable-rubyinterp'
export CONF_OPT_LUA='--enable-luainterp'
export CONF_OPT_MZSCHEME='--disable-mzschemeinterp'
#export CONF_OPT_PLTHOME='--with-plthome=/usr/local/plt'
export CONF_OPT_CSCOPE='--enable-cscope'
export CONF_OPT_MULTIBYTE='--enable-multibyte'
export CONF_OPT_FEAT='--with-features=huge'
export CONF_OPT_COMPBY='"[email protected]"'

Also a couple of changes in feature.h to disable +tag_old_static and
enable +xterm_save since it seems these features cannot be added or
removed at configure level.

-- 
-- 
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