Casar Romani wrote: > By compiling vim 7.3a to the latest changeset with gcc 4.5.0 on Win > XP with MinGW I get the following errors: > > -------------------- > ... > gcc -c ... if_ruby.c -o gobjZ/if_ruby.o > if_ruby.c:211: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:212: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:213: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:215: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:216: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:290: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:294: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 > -------------------- > > Those errors aren't produced if I use gcc 3.4.5 > Following patch should fix it for gcc 4.5.0
Thanks. I'll include it and check it still builds on Ubuntu. -- hundred-and-one symptoms of being an internet addict: 239. You think "surfing" is something you do on dry land. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.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
