I am building vim 7.2.411 with ruby 1.9.1 on Win XP with MinGw
With gcc 3.4.5 it builds fine, but if I use gcc 4.5.0 I get:
--------------------
if_ruby.c:203:15: error: static declaration of 'dll_rb_cFalseClass'
follows non-static declaration
c:/ruby19/include/ruby-1.9.1/ruby/ruby.h:1022:19: note: previous
declaration of 'dll_rb_cFalseClass' was here
if_ruby.c:204:15: error: static declaration of 'dll_rb_cFixnum' follows
non-static declaration
c:/ruby19/include/ruby-1.9.1/ruby/ruby.h:1026:19: note: previous
declaration of 'dll_rb_cFixnum' was here
if_ruby.c:205:15: error: static declaration of 'dll_rb_cNilClass'
follows non-static declaration
c:/ruby19/include/ruby-1.9.1/ruby/ruby.h:1035:19: note: previous
declaration of 'dll_rb_cNilClass' was here
if_ruby.c:207:15: error: static declaration of 'dll_rb_cSymbol' follows
non-static declaration
c:/ruby19/include/ruby-1.9.1/ruby/ruby.h:1045:19: note: previous
declaration of 'dll_rb_cSymbol' was here
if_ruby.c:208:15: error: static declaration of 'dll_rb_cTrueClass'
follows non-static declaration
c:/ruby19/include/ruby-1.9.1/ruby/ruby.h:1048:19: note: previous
declaration of 'dll_rb_cTrueClass' was here
if_ruby.c:277:21: error: static declaration of 'rb_num2long_stub'
follows non-static declaration
c:/ruby19/include/ruby-1.9.1/ruby/ruby.h:398:14: note: previous
declaration of 'rb_num2long_stub' was here
if_ruby.c:281:14: error: static declaration of 'rb_int2big_stub' follows
non-static declaration
c:/ruby19/include/ruby-1.9.1/ruby/intern.h:83:7: note: previous
declaration of 'rb_int2big_stub' was here
make: *** [gobjZ/if_ruby.o] Error 1
--------------------
Many thanks in advance
--
Cesar
--
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
To unsubscribe, reply using "remove me" as the subject.