> Did you get that Ruby package from the site linked to on my > HowTo page?
Yes, I did. Hmm, and now I know why I have downloaded 1.8.6 version, although the actual stable ruby version is 1.8.7. It is because I was initially redirected to the German download page: http://www.ruby-lang.org/de/downloads/ recommends ftp://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/ruby-1.8.6-i386-mswin32.zip , but default English page: http://www.ruby-lang.org/en/downloads/ recommends ftp://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/ruby-1.8.7-i386-mswin32.zip !! Anyway, after download 1.8.7, I have looked to config.h and see the same: sharo...@nb-sharonov > head lib/ruby/1.8/i386-mswin32/config.h #if _MSC_VER != 1200 #error MSC version unmatch: _MSC_VER: 1200 is expected. #endif #define USE_WINSOCK2 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 And I get the same compilation error [1] as with 1.8.6 if use unpatched config.h. After patching config.h using the patch from my first post, everything compiles and runs ok. > If you did, I've got to add a warning about that. This is good idea, I think. And has somebody an idea how we can report to ruby guys their two "problems": 1) Recent stable win32 1.8.7 bindings failed to compile unpatched with gcc. Don't know, how to check their development trunk for that. 2) Their german redirect for download page recommends out-of-date version for win32. ? -- Anton [1] compilation error for ruby-1.8.7-i386-mswin32.zip if used unpatched config.h ... gcc -c -O3 -fomit-frame-pointer -freg-struct-return -fno-strength-reduce -DWIN32 -DHAVE_PATHDEF -DFEAT_BIG -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl58.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python26.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby18.dll\" -DDYNAMIC_RUBY_VER=18 -DDYNAMIC_GETTEXT -DDYNAMIC_ICONV -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_OLE -march=i386 -Iproto -Ic:/usr/Perl/lib/CORE -Ic:/usr/Python26/include -Ic:/usr/ruby-1.8.7/lib/ruby/1.8/i386-mswin32 -s -mno-cygwin if_ruby.c -o gobj/if_ruby.o In file included from c:/usr/ruby-1.8.7/lib/ruby/1.8/i386-mswin32/ruby.h:24, from if_ruby.c:51: c:/usr/ruby-1.8.7/lib/ruby/1.8/i386-mswin32/config.h:2:2: #error MSC version unmatch: _MSC_VER: 1200 is expected. In file included from c:/usr/ruby-1.8.7/lib/ruby/1.8/i386-mswin32/ruby.h:735, from if_ruby.c:51: c:/usr/ruby-1.8.7/lib/ruby/1.8/i386-mswin32/missing.h:71:1: warning: "isinf" redefined In file included from c:/usr/ruby-1.8.7/lib/ruby/1.8/i386-mswin32/win32/win32.h:60, from c:/usr/ruby-1.8.7/lib/ruby/1.8/i386-mswin32/defines.h:186, from c:/usr/ruby-1.8.7/lib/ruby/1.8/i386-mswin32/ruby.h:37, from if_ruby.c:51: /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/math.h:364:1: warning: this is the location of the previous definition make: *** [gobj/if_ruby.o] Error 1 --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
