Patch 8.1.0704
Problem: Building with Ruby 2.6 gives compiler warnings.
Solution: Define a stub for rb_ary_detransient. (Ozaki Kiichi, closes #3779)
Files: src/if_ruby.c
*** ../vim-8.1.0703/src/if_ruby.c 2018-12-27 22:10:57.797337989 +0100
--- src/if_ruby.c 2019-01-08 20:24:05.178582966 +0100
***************
*** 124,130 ****
#endif
#if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 26
! # define rb_ary_detransient (*dll_rb_ary_detransient)
#endif
#include <ruby.h>
--- 124,130 ----
#endif
#if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 26
! # define rb_ary_detransient rb_ary_detransient_stub
#endif
#include <ruby.h>
***************
*** 549,554 ****
--- 549,561 ----
# endif
# endif
+ # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 26
+ void rb_ary_detransient_stub(VALUE x)
+ {
+ dll_rb_ary_detransient(x);
+ }
+ # endif
+
static HINSTANCE hinstRuby = NULL; /* Instance of ruby.dll */
/*
*** ../vim-8.1.0703/src/version.c 2019-01-08 20:14:31.614957028 +0100
--- src/version.c 2019-01-08 20:27:03.553087076 +0100
***************
*** 801,802 ****
--- 801,804 ----
{ /* Add new patch number below this line */
+ /**/
+ 704,
/**/
--
Why is it called "Windows"? "Gates" would be more appropriate...
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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.