Op dinsdag 20 november 2012 16:59:30 schreef Bram Moolenaar:
> Patch 7.3.721
> Problem: Ruby interface defines local functions globally.
> Solution: Make the functions static.
> Files: src/if_ruby.c
>
>
> *** ../vim-7.3.720/src/if_ruby.c 2012-10-03 18:06:55.000000000 +0200
> --- src/if_ruby.c 2012-11-20 15:35:46.000000000 +0100
> ***************
> *** 336,346 ****
> #endif
>
> #ifdef RUBY19_OR_LATER
> ! SIGNED_VALUE rb_num2long_stub(VALUE x)
> {
> return dll_rb_num2long(x);
> }
> ! VALUE rb_int2big_stub(SIGNED_VALUE x)
> {
> return dll_rb_int2big(x);
> }
> --- 336,346 ----
> #endif
>
> #ifdef RUBY19_OR_LATER
> ! static SIGNED_VALUE rb_num2long_stub(VALUE x)
> {
> return dll_rb_num2long(x);
> }
> ! static VALUE rb_int2big_stub(SIGNED_VALUE x)
> {
> return dll_rb_int2big(x);
> }
> *** ../vim-7.3.720/src/version.c 2012-11-20 16:56:49.000000000 +0100
> --- src/version.c 2012-11-20 16:58:32.000000000 +0100
> ***************
> *** 727,728 ****
> --- 727,730 ----
> { /* Add new patch number below this line */
> + /**/
> + 721,
> /**/
build failure here:
if_ruby.c:339:21: error: static declaration of 'rb_num2long_stub' follows non-
static declaration
./configure --prefix=/usr --localstatedir=/var/lib/vim \
--mandir=/usr/share/man \
--with-features=huge --enable-gpm --enable-acl --with-x=no \
--disable-gui --enable-multibyte --enable-cscope \
--disable-netbeans --enable-perlinterp=dynamic \
--enable-pythoninterp=dynamic --enable-python3interp=dynamic \
--enable-rubyinterp=dynamic --enable-luainterp=dynamic
make
--Ike
--
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