On Wed, Jun 30, 2010 at 9:46 PM, Tux <[email protected]> wrote:
> Charles schrob am 30.06.2010 16:35:
>
> It is provided here
> http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html
>
> I begin to despair, seriously. This one "works" but does not really like VS
> 2008 (read: won't compile). Ruby 1.8 did.

Going futher, the problem also lies on if_ruby.c

#ifdef _WIN32
            /* suggested by Ariya Mizutani */
            int argc = 1;
            char *argv[] = {"gvim.exe"};
            NtInitialize(&argc, &argv);
#endif
#ifdef RUBY19_OR_LATER
            RUBY_INIT_STACK;
#endif

while RUBY_INIT_STACK is defined as

#define RUBY_INIT_STACK VALUE variable_in_this_stack_frame;
ruby_init_stack(&variable_in_this_stack_frame);

This results in declaration after expression which is C99 standard and
not supported by VS C compiler which only supports C89 standard.

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

Raspunde prin e-mail lui