From: Motohiro KOSAKI Date: 2011-07-16T01:18:37+09:00 Subject: [ruby-core:38080] [Ruby 1.9 - Bug #5030][Assigned] [Win7/MinGW] build fail on trunk@32549 Issue #5030 has been updated by Motohiro KOSAKI. Status changed from Open to Assigned Assignee set to Usaku NAKAMURA Target version set to 1.9.3 ---------------------------------------- Bug #5030: [Win7/MinGW] build fail on trunk@32549 http://redmine.ruby-lang.org/issues/5030 Author: Jon Forums Status: Assigned Priority: Normal Assignee: Usaku NAKAMURA Category: core Target version: 1.9.3 ruby -v: building with ruby 1.9.4dev (2011-07-15 trunk 32545) [i386-mingw32] This commit https://github.com/ruby/ruby/commit/f15d0deaaf1ae0b92c539bd823dd2b00afbaf502 appears to be the cause of the following build failure on Win7 32bit with tdm gcc 4.5.2 and mingw-w64 gcc 4.5.4 ... compiling ../../../../Users/Jon/Documents/RubyDev/ruby-git/win32/win32.c ../../../../Users/Jon/Documents/RubyDev/ruby-git/win32/win32.c: In function 'rb_w32_io_cancelable_p': ../../../../Users/Jon/Documents/RubyDev/ruby-git/win32/win32.c:2080:5: error: implicit declaration of function 'is_socket' ../../../../Users/Jon/Documents/RubyDev/ruby-git/win32/win32.c:2080:5: error: implicit declaration of function 'is_console' ../../../../Users/Jon/Documents/RubyDev/ruby-git/win32/win32.c: At top level: ../../../../Users/Jon/Documents/RubyDev/ruby-git/win32/win32.c:2183:1: error: static declaration of 'is_socket' follows non-static declaration ../../../../Users/Jon/Documents/RubyDev/ruby-git/win32/win32.c:2080:34: note: previous implicit declaration of 'is_socket' was here ../../../../Users/Jon/Documents/RubyDev/ruby-git/win32/win32.c:2489:1: error: static declaration of 'is_console' follows non-static declaration ../../../../Users/Jon/Documents/RubyDev/ruby-git/win32/win32.c:2080:63: note: previous implicit declaration of 'is_console' was here make: *** [win32.o] Error 1 -- http://redmine.ruby-lang.org