From noreply at rubyforge.org Tue Nov 24 00:56:48 2009 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 24 Nov 2009 00:56:48 -0500 (EST) Subject: [Win32utils-devel] [ win32utils-Bugs-27425 ] win32-open3 doesn't build with 1.9.1 Message-ID: <20091124055648.716AE18582C3@rubyforge.org> Bugs item #27425, was opened at 2009-11-11 21:15 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=27425&group_id=85 Category: win32-open3 Group: Code Status: Open >Resolution: Accepted Priority: 3 Submitted By: Daniel Berger (djberg96) Assigned to: Nobody (None) Summary: win32-open3 doesn't build with 1.9.1 Initial Comment: Windows XP VC++ 9 Let's see if we can make this work. C:\Documents and Settings\wuby\workspace\win32-open3\ext>nmake Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. c:\ruby19\bin\ruby -e "puts 'EXPORTS', 'Init_open3'" > open3-i386-mswin32_90.def cl -nologo -I. -Ic:/ruby19/include/ruby-1.9.1/i386-mswin32_90 -Ic:/ruby19/include/ruby-1.9.1/ruby/backward -Ic:/ruby19/include/ruby-1.9.1 - n32 -MD -Zi -O2b2xty- -Zm600 -DHAVE_TYPE_RB_PID_T -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Foopen3.obj -c -Tcwin32/open3.c open3.c warning: rubysig.h is obsolete warning: use "ruby/io.h" instead of "rubyio.h" win32/open3.c(88) : error C2039: 'ptr' : is not a member of 'RArray' c:\ruby19\include\ruby-1.9.1\ruby/ruby.h(607) : see declaration of 'RArray' win32/open3.c(88) : error C2198: 'rb_funcall' : too few arguments for call win32/open3.c(89) : error C2039: 'ptr' : is not a member of 'RArray' c:\ruby19\include\ruby-1.9.1\ruby/ruby.h(607) : see declaration of 'RArray' win32/open3.c(89) : error C2198: 'rb_funcall' : too few arguments for call win32/open3.c(267) : error C2143: syntax error : missing ')' before '*' win32/open3.c(267) : error C2143: syntax error : missing '{' before '*' win32/open3.c(267) : error C2059: syntax error : 'type' win32/open3.c(267) : error C2059: syntax error : ')' win32/open3.c(309) : error C2065: 'fptr' : undeclared identifier win32/open3.c(309) : error C2296: '*' : illegal, left operand has type 'HFILE (__stdcall *)(LPCSTR,LPOFSTRUCT,UINT)' win32/open3.c(310) : error C2143: syntax error : missing ';' before 'type' win32/open3.c(397) : error C2065: 'm1' : undeclared identifier win32/open3.c(397) : warning C4047: '=' : 'int' differs in levels of indirection from 'char [2]' win32/open3.c(398) : error C2065: 'm2' : undeclared identifier win32/open3.c(398) : warning C4047: '=' : 'int' differs in levels of indirection from 'char [2]' win32/open3.c(401) : error C2065: 'm1' : undeclared identifier win32/open3.c(401) : warning C4047: '=' : 'int' differs in levels of indirection from 'char [3]' win32/open3.c(402) : error C2065: 'm2' : undeclared identifier win32/open3.c(402) : warning C4047: '=' : 'int' differs in levels of indirection from 'char [3]' win32/open3.c(407) : error C2065: 'm2' : undeclared identifier win32/open3.c(407) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' win32/open3.c(407) : warning C4024: '_fdopen' : different types for formal and actual parameter 2 win32/open3.c(410) : error C2065: 'm1' : undeclared identifier win32/open3.c(410) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' win32/open3.c(410) : warning C4024: '_fdopen' : different types for formal and actual parameter 2 win32/open3.c(413) : error C2065: 'm1' : undeclared identifier win32/open3.c(413) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' win32/open3.c(413) : warning C4024: '_fdopen' : different types for formal and actual parameter 2 win32/open3.c(428) : error C2065: 'm2' : undeclared identifier win32/open3.c(428) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' win32/open3.c(428) : warning C4024: 'rb_io_modestr_fmode' : different types for formal and actual parameter 1 win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : warning C4047: '=' : 'int' differs in levels of indirection from 'rb_io_t *' win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->fd' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->stdio_file' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->mode' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->pid' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->lineno' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->pathv' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->finalize' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->wbuf' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->wbuf_off' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->wbuf_len' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->wbuf_capa' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->rbuf' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->rbuf_off' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->rbuf_len' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->rbuf_capa' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->readconv' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->cbuf' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->cbuf_off' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->cbuf_len' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->cbuf_capa' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->writeconv' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->writeconv_asciicompat' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->writeconv_pre_ecflags' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->writeconv_pre_ecopts' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->writeconv_initialized' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->tied_io_for_writing' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->encs' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->encs' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->encs' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->encs' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->write_lock' must point to struct/union win32/open3.c(432) : error C2065: 'fptr' : undeclared identifier win32/open3.c(432) : error C2223: left of '->finalize' must point to struct/union win32/open3.c(432) : error C2065: 'win32_pipe_finalize' : undeclared identifier win32/open3.c(433) : error C2065: 'fptr' : undeclared identifier win32/open3.c(433) : error C2223: left of '->mode' must point to struct/union win32/open3.c(434) : error C2065: 'fptr' : undeclared identifier win32/open3.c(434) : error C2223: left of '->pid' must point to struct/union win32/open3.c(437) : error C2065: 'fptr' : undeclared identifier win32/open3.c(437) : error C2223: left of '->f' must point to struct/union win32/open3.c(441) : error C2065: 'fptr' : undeclared identifier win32/open3.c(441) : error C2223: left of '->f' must point to struct/union win32/open3.c(442) : error C2065: 'fptr' : undeclared identifier win32/open3.c(442) : error C2223: left of '->f2' must point to struct/union win32/open3.c(445) : error C2065: 'fptr' : undeclared identifier win32/open3.c(445) : error C2223: left of '->f' must point to struct/union win32/open3.c(447) : error C2065: 'fptr' : undeclared identifier win32/open3.c(447) : error C2223: left of '->mode' must point to struct/union win32/open3.c(450) : error C2065: 'm1' : undeclared identifier win32/open3.c(450) : fatal error C1003: error count exceeds 100; stopping compilation NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2' ---------------------------------------------------------------------- >Comment By: Daniel Berger (djberg96) Date: 2009-11-23 22:56 Message: I've made some minor adjustments, but it looks like OpenFile disappeared in 1.9.x. I have to figure out what to replace it with. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=27425&group_id=85 From noreply at rubyforge.org Wed Nov 11 23:15:07 2009 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Wed, 11 Nov 2009 23:15:07 -0500 (EST) Subject: [Win32utils-devel] [ win32utils-Bugs-27425 ] win32-open3 doesn't build with 1.9.1 Message-ID: <20091112041507.9D2C51598079@rubyforge.org> Bugs item #27425, was opened at 2009-11-11 21:15 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=27425&group_id=85 Category: win32-open3 Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Daniel Berger (djberg96) Assigned to: Nobody (None) Summary: win32-open3 doesn't build with 1.9.1 Initial Comment: Windows XP VC++ 9 Let's see if we can make this work. C:\Documents and Settings\wuby\workspace\win32-open3\ext>nmake Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. c:\ruby19\bin\ruby -e "puts 'EXPORTS', 'Init_open3'" > open3-i386-mswin32_90.def cl -nologo -I. -Ic:/ruby19/include/ruby-1.9.1/i386-mswin32_90 -Ic:/ruby19/include/ruby-1.9.1/ruby/backward -Ic:/ruby19/include/ruby-1.9.1 - n32 -MD -Zi -O2b2xty- -Zm600 -DHAVE_TYPE_RB_PID_T -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Foopen3.obj -c -Tcwin32/open3.c open3.c warning: rubysig.h is obsolete warning: use "ruby/io.h" instead of "rubyio.h" win32/open3.c(88) : error C2039: 'ptr' : is not a member of 'RArray' c:\ruby19\include\ruby-1.9.1\ruby/ruby.h(607) : see declaration of 'RArray' win32/open3.c(88) : error C2198: 'rb_funcall' : too few arguments for call win32/open3.c(89) : error C2039: 'ptr' : is not a member of 'RArray' c:\ruby19\include\ruby-1.9.1\ruby/ruby.h(607) : see declaration of 'RArray' win32/open3.c(89) : error C2198: 'rb_funcall' : too few arguments for call win32/open3.c(267) : error C2143: syntax error : missing ')' before '*' win32/open3.c(267) : error C2143: syntax error : missing '{' before '*' win32/open3.c(267) : error C2059: syntax error : 'type' win32/open3.c(267) : error C2059: syntax error : ')' win32/open3.c(309) : error C2065: 'fptr' : undeclared identifier win32/open3.c(309) : error C2296: '*' : illegal, left operand has type 'HFILE (__stdcall *)(LPCSTR,LPOFSTRUCT,UINT)' win32/open3.c(310) : error C2143: syntax error : missing ';' before 'type' win32/open3.c(397) : error C2065: 'm1' : undeclared identifier win32/open3.c(397) : warning C4047: '=' : 'int' differs in levels of indirection from 'char [2]' win32/open3.c(398) : error C2065: 'm2' : undeclared identifier win32/open3.c(398) : warning C4047: '=' : 'int' differs in levels of indirection from 'char [2]' win32/open3.c(401) : error C2065: 'm1' : undeclared identifier win32/open3.c(401) : warning C4047: '=' : 'int' differs in levels of indirection from 'char [3]' win32/open3.c(402) : error C2065: 'm2' : undeclared identifier win32/open3.c(402) : warning C4047: '=' : 'int' differs in levels of indirection from 'char [3]' win32/open3.c(407) : error C2065: 'm2' : undeclared identifier win32/open3.c(407) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' win32/open3.c(407) : warning C4024: '_fdopen' : different types for formal and actual parameter 2 win32/open3.c(410) : error C2065: 'm1' : undeclared identifier win32/open3.c(410) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' win32/open3.c(410) : warning C4024: '_fdopen' : different types for formal and actual parameter 2 win32/open3.c(413) : error C2065: 'm1' : undeclared identifier win32/open3.c(413) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' win32/open3.c(413) : warning C4024: '_fdopen' : different types for formal and actual parameter 2 win32/open3.c(428) : error C2065: 'm2' : undeclared identifier win32/open3.c(428) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' win32/open3.c(428) : warning C4024: 'rb_io_modestr_fmode' : different types for formal and actual parameter 1 win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : warning C4047: '=' : 'int' differs in levels of indirection from 'rb_io_t *' win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->fd' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->stdio_file' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->mode' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->pid' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->lineno' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->pathv' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->finalize' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->wbuf' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->wbuf_off' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->wbuf_len' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->wbuf_capa' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->rbuf' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->rbuf_off' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->rbuf_len' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->rbuf_capa' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->readconv' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->cbuf' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->cbuf_off' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->cbuf_len' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->cbuf_capa' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->writeconv' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->writeconv_asciicompat' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->writeconv_pre_ecflags' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->writeconv_pre_ecopts' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->writeconv_initialized' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->tied_io_for_writing' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->encs' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->encs' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->encs' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->encs' must point to struct/union win32/open3.c(430) : error C2065: 'fptr' : undeclared identifier win32/open3.c(430) : error C2223: left of '->write_lock' must point to struct/union win32/open3.c(432) : error C2065: 'fptr' : undeclared identifier win32/open3.c(432) : error C2223: left of '->finalize' must point to struct/union win32/open3.c(432) : error C2065: 'win32_pipe_finalize' : undeclared identifier win32/open3.c(433) : error C2065: 'fptr' : undeclared identifier win32/open3.c(433) : error C2223: left of '->mode' must point to struct/union win32/open3.c(434) : error C2065: 'fptr' : undeclared identifier win32/open3.c(434) : error C2223: left of '->pid' must point to struct/union win32/open3.c(437) : error C2065: 'fptr' : undeclared identifier win32/open3.c(437) : error C2223: left of '->f' must point to struct/union win32/open3.c(441) : error C2065: 'fptr' : undeclared identifier win32/open3.c(441) : error C2223: left of '->f' must point to struct/union win32/open3.c(442) : error C2065: 'fptr' : undeclared identifier win32/open3.c(442) : error C2223: left of '->f2' must point to struct/union win32/open3.c(445) : error C2065: 'fptr' : undeclared identifier win32/open3.c(445) : error C2223: left of '->f' must point to struct/union win32/open3.c(447) : error C2065: 'fptr' : undeclared identifier win32/open3.c(447) : error C2223: left of '->mode' must point to struct/union win32/open3.c(450) : error C2065: 'm1' : undeclared identifier win32/open3.c(450) : fatal error C1003: error count exceeds 100; stopping compilation NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2' ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=27425&group_id=85