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

Re: [ID 20010103.019] perl@8269: failure to build on NT 4.0.1381 with MSVC

Thread Previous
From:
Jarkko Hietaniemi
Date:
January 4, 2001 17:15
Subject:
Re: [ID 20010103.019] perl@8269: failure to build on NT 4.0.1381 with MSVC
Message ID:
20010105031519.A4924@alpha.hut.fi
On Wed, Jan 03, 2001 at 04:16:04PM -0800, pvhp@forte.com wrote:
> 
> 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):

Hmmm.  Off-hand I'd say MSVC is griping for nothing...

>         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
> 
> 

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

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