From: Jon Forums Date: 2011-06-29T00:23:14+09:00 Subject: [ruby-core:37636] [Ruby 1.9 - Bug #4937] trunk@32244 MinGW build failure - thread_win32.c Issue #4937 has been updated by Jon Forums. fixed by trunk@32268 with `make test` and `make test-all TESTS='openssl fiddle psych'` all passing ---------------------------------------- Bug #4937: trunk@32244 MinGW build failure - thread_win32.c http://redmine.ruby-lang.org/issues/4937 Author: Jon Forums Status: Open Priority: Normal Assignee: Koichi Sasada Category: build Target version: 1.9.3 ruby -v: ruby 1.9.3dev (2011-06-27 trunk 32242) [i386-mingw32] The signature of `native_stop_timer_thread` at https://github.com/ruby/ruby/blob/trunk/thread_win32.c#L748 conflicts with it's usage by `rb_thread_stop_timer_thread` at https://github.com/ruby/ruby/blob/trunk/thread.c#L2989 resulting in the following build error when using the RubyInstaller build recipes and gcc.exe (tdm-1) 4.5.2:
compiling ../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c
../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c: In function 'rb_thread_stop_timer_thread':
../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c:2989:5: error: too many arguments to function 'native_stop_timer_thread'
../../../../Users/Jon/Documents/RubyDev/ruby-git/thread_win32.c:748:1: note: declared here
-- http://redmine.ruby-lang.org