Issue #5251 has been reported by Charlie Savage.

----------------------------------------
Bug #5251: Thread Change Breaks Windows Builds
http://redmine.ruby-lang.org/issues/5251

Author: Charlie Savage
Status: Open
Priority: Normal
Assignee: Motohiro KOSAKI
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-08-26 revision 33077) [i386-mingw32]


This commit:

Commit:4e9438bc9153f7a1f4ea0af85c8dbe359e1a55d8

Causes this error:

thread.c: In function `rb_thread_select':
thread.c:2685: warning: missing braces around initializer
thread.c:2685: warning: (near initialization for `fdsets[0]')
thread.c:2693: error: implicit declaration of function `rb_fd_copy'
make: *** [thread.o] Error 1

Using mingw, with this gcc:

gcc version 3.4.5 (mingw-vista special r3)

Note that in thread.c, rb_fd_copy is not defined for win32, and therefore, this breaks.  Thus, this would break for msvc also it looks.


-- 
http://redmine.ruby-lang.org