develooper Front page | perl.perl5.porters | Postings from October 2014

Re: Windows help request

Thread Previous
From:
Craig A. Berry
Date:
October 13, 2014 22:15
Subject:
Re: Windows help request
Message ID:
CA+vYcVyo_UmMQhjviJ2=rKu6UseSWQ1kNJQ6bctLQNJ7JqqVDw@mail.gmail.com
On Mon, Oct 13, 2014 at 2:38 PM, Father Chrysostomos <sprout@cpan.org> wrote:
> The smoke-me/destroio branch won't build on Windows and I cannot
> figure out why from the logs.  Could someone lend a hand?
>

I think PerlIO_funcs is not getting declared. You probably need to
make your new save and restore of errno functions actual functions in
perlio.c rather than macros; that would allow you to avoid exposing
perlio internals outside of perlio.c, which I think is what's getting
you in trouble.


        cl -c -nologo -GF -W3 -I..\lib\CORE -I.\include -I. -I..
-DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -D_CRT_SECUR
_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DPERLDLL -DPERL_CORE   -O1
-MD -Zi -DNDEBUG -GL -fp:precise -DPERL_EXTERNAL_GLOB -DPERL_
S_MINIPERL -Fo.\mini\doio.obj ..\doio.c
doio.c
c:\perlgit\hv_func.h(272) : warning C4267: 'initializing' : conversion
from 'size_t' to 'U32', possible loss of data
c:\perlgit\hv_func.h(382) : warning C4267: 'initializing' : conversion
from 'size_t' to 'I32', possible loss of data
c:\perlgit\hv_func.h(405) : warning C4267: 'initializing' : conversion
from 'size_t' to 'int', possible loss of data
c:\perlgit\hv_func.h(446) : warning C4267: 'initializing' : conversion
from 'size_t' to 'int', possible loss of data
c:\perlgit\hv_func.h(470) : warning C4267: 'initializing' : conversion
from 'size_t' to 'U32', possible loss of data
c:\perlgit\hv_func.h(480) : warning C4267: 'initializing' : conversion
from 'size_t' to 'U32', possible loss of data
c:\perlgit\hv_func.h(506) : warning C4267: 'initializing' : conversion
from 'size_t' to 'U32', possible loss of data
c:\perlgit\hv_func.h(521) : warning C4267: 'initializing' : conversion
from 'size_t' to 'U32', possible loss of data
c:\perlgit\inline.h(188) : warning C4267: 'function' : conversion from
'size_t' to 'I32', possible loss of data
c:\perlgit\inline.h(189) : warning C4267: 'function' : conversion from
'size_t' to 'I32', possible loss of data
..\doio.c(248) : warning C4267: 'function' : conversion from 'size_t'
to 'I32', possible loss of data
..\doio.c(279) : warning C4267: 'function' : conversion from 'size_t'
to 'I32', possible loss of data
..\doio.c(390) : warning C4244: '=' : conversion from 'UV' to 'int',
possible loss of data
..\doio.c(394) : warning C4244: '=' : conversion from 'UV' to 'int',
possible loss of data
c:\perlgit\perliol.h(5) : error C2016: C requires that a struct or
union has at least one member
c:\perlgit\perliol.h(5) : error C2061: syntax error : identifier 'PerlIO_funcs'
c:\perlgit\perliol.h(7) : error C2059: syntax error : '}'
c:\perlgit\perliol.h(13) : error C2061: syntax error : identifier
'PerlIO_pair_t'
c:\perlgit\perliol.h(14) : error C2059: syntax error : '}'
c:\perlgit\perliol.h(21) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(21) : error C2081: 'PerlIO_funcs' : name in
formal parameter list illegal
c:\perlgit\perliol.h(21) : error C2143: syntax error : missing ';' before '*'
c:\perlgit\perliol.h(21) : error C2059: syntax error : '*'
c:\perlgit\perliol.h(21) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(23) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(23) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(24) : error C2143: syntax error : missing ';' before '*'
c:\perlgit\perliol.h(24) : error C2371: 'IV' : redefinition; different
basic types
        c:\perlgit\perl.h(1638) : see declaration of 'IV'
c:\perlgit\perliol.h(24) : error C2146: syntax error : missing ';'
before identifier 'n'
c:\perlgit\perliol.h(25) : error C2059: syntax error : 'type'
c:\perlgit\perliol.h(27) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(52) : error C2059: syntax error : '}'
c:\perlgit\perliol.h(67) : error C2016: C requires that a struct or
union has at least one member
c:\perlgit\perliol.h(67) : error C2061: syntax error : identifier 'PerlIOl'
c:\perlgit\perliol.h(68) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(78) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(79) : error C2059: syntax error : '}'
c:\perlgit\perliol.h(116) : error C2061: syntax error : identifier 'PerlIO_unix'
c:\perlgit\perliol.h(116) : error C2059: syntax error : ';'
c:\perlgit\perliol.h(117) : error C2061: syntax error : identifier
'PerlIO_perlio'
c:\perlgit\perliol.h(117) : error C2059: syntax error : ';'
c:\perlgit\perliol.h(118) : error C2061: syntax error : identifier
'PerlIO_stdio'
c:\perlgit\perliol.h(118) : error C2059: syntax error : ';'
c:\perlgit\perliol.h(119) : error C2061: syntax error : identifier 'PerlIO_crlf'
c:\perlgit\perliol.h(119) : error C2059: syntax error : ';'
c:\perlgit\perliol.h(120) : error C2061: syntax error : identifier 'PerlIO_utf8'
c:\perlgit\perliol.h(120) : error C2059: syntax error : ';'
c:\perlgit\perliol.h(121) : error C2061: syntax error : identifier 'PerlIO_byte'
c:\perlgit\perliol.h(121) : error C2059: syntax error : ';'
c:\perlgit\perliol.h(122) : error C2061: syntax error : identifier 'PerlIO_raw'
c:\perlgit\perliol.h(122) : error C2059: syntax error : ';'
c:\perlgit\perliol.h(123) : error C2061: syntax error : identifier
'PerlIO_pending'
c:\perlgit\perliol.h(123) : error C2059: syntax error : ';'
c:\perlgit\perliol.h(125) : error C2061: syntax error : identifier
'PerlIO_win32'
c:\perlgit\perliol.h(125) : error C2059: syntax error : ';'
c:\perlgit\perliol.h(128) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(128) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(128) : error C2371: 'IV' : redefinition;
different basic types
        c:\perlgit\perl.h(1638) : see declaration of 'IV'
c:\perlgit\perliol.h(128) : error C2146: syntax error : missing ';'
before identifier 'n'
c:\perlgit\perliol.h(128) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(144) : error C2079: 'base' uses undefined struct '_PerlIO'
c:\perlgit\perliol.h(154) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(154) : error C2081: 'PerlIO_list_t' : name in
formal parameter list illegal
c:\perlgit\perliol.h(154) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(154) : error C2371: 'IV' : redefinition;
different basic types
        c:\perlgit\perl.h(1638) : see declaration of 'IV'
c:\perlgit\perliol.h(154) : error C2146: syntax error : missing ';'
before identifier 'n'
c:\perlgit\perliol.h(154) : error C2059: syntax error : 'type'
c:\perlgit\perliol.h(154) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(155) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(155) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(155) : error C2059: syntax error : 'type'
c:\perlgit\perliol.h(155) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(156) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(156) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(156) : error C2371: 'IV' : redefinition;
different basic types
        c:\perlgit\perl.h(1638) : see declaration of 'IV'
c:\perlgit\perliol.h(156) : error C2146: syntax error : missing ';'
before identifier 'n'
c:\perlgit\perliol.h(156) : error C2143: syntax error : missing ';' before '*'
c:\perlgit\perliol.h(156) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(160) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(160) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(160) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(161) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(161) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(161) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(162) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(162) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(162) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(165) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(166) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(167) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(170) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(171) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(171) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(171) : error C2371: 'CLONE_PARAMS' :
redefinition; different basic types
        c:\perlgit\perl.h(2594) : see declaration of 'CLONE_PARAMS'
c:\perlgit\perliol.h(171) : error C2143: syntax error : missing ';' before '*'
c:\perlgit\perliol.h(171) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(172) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(172) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(172) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(173) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(173) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(173) : error C2143: syntax error : missing ';' before '*'
c:\perlgit\perliol.h(173) : error C2371: 'SV' : redefinition;
different basic types
        c:\perlgit\perl.h(2564) : see declaration of 'SV'
c:\perlgit\perliol.h(173) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(173) : error C2371: 'arg' : redefinition;
different basic types
        c:\perlgit\perliol.h(6) : see declaration of 'arg'
c:\perlgit\perliol.h(174) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(174) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(174) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(194) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(194) : error C2081: 'PerlIO_funcs' : name in
formal parameter list illegal
c:\perlgit\perliol.h(194) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(194) : error C2059: syntax error : ')'
c:\perlgit\perliol.h(195) : error C2143: syntax error : missing ')' before '*'
c:\perlgit\perliol.h(195) : error C2143: syntax error : missing '{' before '*'
c:\perlgit\perliol.h(195) : error C2143: syntax error : missing ';' before '*'
c:\perlgit\perliol.h(195) : fatal error C1003: error count exceeds
100; stopping compilation
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 11.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About