From: Roger Pack Date: 2010-04-21T05:04:53+09:00 Subject: [ruby-core:29672] [Bug #2760] unable to cross-compile win32.c Issue #2760 has been updated by Roger Pack. ruby_trunk$ gcc -Iinclude -E win32/win32.c 2>&1 | fgrep '= rb_w32_wait_events_blocking' ret = rb_w32_wait_events_blocking(events, count, timeout); wait = rb_w32_wait_events_blocking(&ol.hEvent, 1, INFINITE); wait = rb_w32_wait_events_blocking(&ol.hEvent, 1, INFINITE); ruby_trunk$ i586-mingw32msvc-gcc win32/win32.c 2>&1 | grep lvalue win32/win32.c:4320: error: lvalue required as decrement operand win32/win32.c:4321: error: lvalue required as increment operand win32/win32.c:4340: error: lvalue required as decrement operand win32/win32.c:4341: error: lvalue required as increment operand Unfortunately I didn't actually try cross-compiling (just compiling), so it's possible that this is not a real problem. Hope to do a real build this weekend. -rp ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2760 ---------------------------------------- http://redmine.ruby-lang.org