develooper Front page | perl.perl5.porters | Postings from January 2001

[ID 20010103.019] perl@8269: failure to build on NT 4.0.1381 withMSVC

Thread Next
From:
pvhp
Date:
January 3, 2001 16:13
Subject:
[ID 20010103.019] perl@8269: failure to build on NT 4.0.1381 withMSVC
Message ID:
Pine.OSF.4.10.10101031606000.426050-100000@aspara.forte.com

I noted several unsigned type related warnings for files hv.c, op.c, pp.c,
and sv.c on NT 4.0.1381 with MSVC 5.0 then a final build failure in
toke.c.  Here is an excerpt of the build warnings in the ??.c files
(please note that line breaks may be at odd places in this cut-n-paste
report):

        cl -c -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONS
OLE -DNO_STRICT  -DPERLDLL -DPERL_CORE   -Od -MD -DNDEBUG -DPERL_EXTERNAL_GLOB -
Fo.\mini\hv.obj ..\hv.c
hv.c
..\hv.c(545) : warning C4146: unary minus operator applied to unsigned type, res
ult still unsigned
..\hv.c(547) : warning C4146: unary minus operator applied to unsigned type, res
ult still unsigned

<deletia>

        cl -c -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONS
OLE -DNO_STRICT  -DPERLDLL -DPERL_CORE   -Od -MD -DNDEBUG -DPERL_EXTERNAL_GLOB -
Fo.\mini\op.obj ..\op.c
op.c
..\op.c(6756) : warning C4146: unary minus operator applied to unsigned type, re
sult still unsigned
..\op.c(6776) : warning C4146: unary minus operator applied to unsigned type, re
sult still unsigned
..\op.c(6843) : warning C4146: unary minus operator applied to unsigned type, re
sult still unsigned

<deletia>

        cl -c -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONS
OLE -DNO_STRICT  -DPERLDLL -DPERL_CORE   -Od -MD -DNDEBUG -DPERL_EXTERNAL_GLOB -
Fo.\mini\pp.obj ..\pp.c
pp.c
..\pp.c(994) : warning C4146: unary minus operator applied to unsigned type, res
ult still unsigned
..\pp.c(1031) : warning C4146: unary minus operator applied to unsigned type, re
sult still unsigned

<deletia>

        cl -c -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONS
OLE -DNO_STRICT  -DPERLDLL -DPERL_CORE   -Od -MD -DNDEBUG -DPERL_EXTERNAL_GLOB -
Fo.\mini\sv.obj ..\sv.c
sv.c
..\sv.c(3646) : warning C4146: unary minus operator applied to unsigned type, re
sult still unsigned
..\sv.c(4386) : warning C4146: unary minus operator applied to unsigned type, re
sult still unsigned

<deletia>


Then a bit later on the build dies with a typedef problem in toke.c:


        cl -c -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONS
OLE -DNO_STRICT  -DPERLDLL -DPERL_CORE   -Od -MD -DNDEBUG -DPERL_EXTERNAL_GLOB -
Fo.\mini\toke.obj ..\toke.c
toke.c
..\toke.c(4118) : warning C4047: 'function' : 'struct interpreter *' differs in
levels of indirection from 'struct _PerlIO **volatile  '
..\toke.c(4118) : warning C4024: 'PerlIO_apply_layers' : different types for for
mal and actual parameter 1
..\toke.c(4118) : error C2198: 'PerlIO_apply_layers' : too few actual parameters

NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.


Peter Prymmer




Thread Next


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