Loading ...
Sorry, an error occurred while loading the content.

Patch 7.3.729

Expand Messages
  • Bram Moolenaar
    Patch 7.3.729 Problem: Building with Ruby fails on some systems. Solution: Remove static and add #ifndef PROTO. (Ken Takata) Files: src/if_ruby.c
    Message 1 of 2 , Nov 24, 2012
    • 0 Attachment
      Patch 7.3.729
      Problem: Building with Ruby fails on some systems.
      Solution: Remove "static" and add #ifndef PROTO. (Ken Takata)
      Files: src/if_ruby.c


      *** ../vim-7.3.728/src/if_ruby.c 2012-11-20 16:59:09.000000000 +0100
      --- src/if_ruby.c 2012-11-24 13:32:06.000000000 +0100
      ***************
      *** 335,346 ****
      static void* (*ruby_process_options)(int, char**);
      #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);
      }
      --- 335,346 ----
      static void* (*ruby_process_options)(int, char**);
      #endif

      ! #if defined(RUBY19_OR_LATER) && !defined(PROTO)
      ! SIGNED_VALUE rb_num2long_stub(VALUE x)
      {
      return dll_rb_num2long(x);
      }
      ! VALUE rb_int2big_stub(SIGNED_VALUE x)
      {
      return dll_rb_int2big(x);
      }
      *** ../vim-7.3.728/src/version.c 2012-11-23 21:54:43.000000000 +0100
      --- src/version.c 2012-11-24 13:34:20.000000000 +0100
      ***************
      *** 727,728 ****
      --- 727,730 ----
      { /* Add new patch number below this line */
      + /**/
      + 729,
      /**/

      --
      hundred-and-one symptoms of being an internet addict:
      64. The remote to the T.V. is missing...and you don't even care.

      /// Bram Moolenaar -- Bram@... -- 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
    • Christian J. Robinson
      ... This allows me to build native Windows binaries with +ruby(/dyn) using Make_ming.mak under Cygwin, so I will stop worrying about using Make_cyg.mak with
      Message 2 of 2 , Nov 24, 2012
      • 0 Attachment
        On Sat, 24 Nov 2012, Bram Moolenaar wrote:

        > Patch 7.3.729
        > Problem: Building with Ruby fails on some systems.
        > Solution: Remove "static" and add #ifndef PROTO. (Ken Takata)
        > Files: src/if_ruby.c

        This allows me to build native Windows binaries with +ruby(/dyn) using
        Make_ming.mak under Cygwin, so I will stop worrying about using
        Make_cyg.mak with the "undefined reference to _pow" issue.

        - Christian

        --
        Important letters develop errors in the mail.
        Christian J. Robinson <heptite@...> http://christianrobinson.name/

        --
        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
      Your message has been successfully submitted and would be delivered to recipients shortly.