From: "phasis68 (Heesob Park)" Date: 2013-11-30T16:22:37+09:00 Subject: [ruby-core:58710] [ruby-trunk - Bug #9184][Open] Build failure on Windows introduced by r43910 Issue #9184 has been reported by phasis68 (Heesob Park). ---------------------------------------- Bug #9184: Build failure on Windows introduced by r43910 https://bugs.ruby-lang.org/issues/9184 Author: phasis68 (Heesob Park) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.1.0dev (2013-11-30 trunk 43923) [i386-mingw32] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN r43910 introduced a build failure in RubyInstaller CI: http://ci.rubyinstaller.org/job/ruby-trunk-x86-build/2730/console compiling ../../../ext/win32ole/win32ole.c ../../../ext/win32ole/win32ole.c:3305:1: error: conflicting types for 'hash2named_arg' ../../../ext/win32ole/win32ole.c:386:14: note: previous declaration of 'hash2named_arg' was here make[2]: *** [win32ole.o] Error 1 Here is a patch. diff --git a/win32ole.c b/win32ole.c.new index 9254ca4..66d05f8 100644 --- a/win32ole.c +++ b/win32ole.c.new @@ -383,7 +383,7 @@ static VALUE fole_s_create_guid(VALUE self); static VALUE fole_s_ole_initialize(VALUE self); static VALUE fole_s_ole_uninitialize(VALUE self); static VALUE fole_initialize(int argc, VALUE *argv, VALUE self); -static VALUE hash2named_arg(VALUE pair, struct oleparam* pOp); +static VALUE hash2named_arg(RB_BLOCK_CALL_FUNC_ARGLIST(pair,pOp)); static VALUE set_argv(VARIANTARG* realargs, unsigned int beg, unsigned int end); static VALUE ole_invoke(int argc, VALUE *argv, VALUE self, USHORT wFlags, BOOL is_bracket); static VALUE fole_invoke(int argc, VALUE *argv, VALUE self); -- http://bugs.ruby-lang.org/