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

[PATCH bleadperl CORE] removing sv.c warnings on VC++5.0

Thread Next
From:
Nikola Knezevic
Date:
August 13, 2001 14:21
Subject:
[PATCH bleadperl CORE] removing sv.c warnings on VC++5.0
Message ID:
6114148607.20010813231501@tesla.rcub.bg.ac.yu
Hi,
when I try to build bleadperl, these are the warnings I get:

cl -c -I.. -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32
-D_CONSOLE -DNO_STRICT -DPERLDLL -DPERL_CORE -O1 -MD -DNDEBUG
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -Fo..\sv.obj ..\sv.c sv.c

..\sv.c(9571) : warning C4013: 'perl_clone_host' undefined; assuming
extern returning int
..\sv.c(9571) : warning C4047: 'return' : 'struct interpreter *' differs
in levels of indirection from 'int '

So, I've found perl_clone_host defined in win32/perllibc.c, and add a
simple line in sv.c:
EXTERN_C PerlInterpreter *
perl_clone_host(PerlInterpreter* proto_perl, UV flags);

Difference is attached as UUEncoded

All tests that usualy pass on my system, pass with patch applied.
Since we are talking about tests, what's happend with those two I have
sent (magic.t and showlex.t)?


-- 
 .            `\!,        
 .            <. .>    
 [=======oOo==( ^ )==oOo========[ indy@hemo.net ]=======]      
 |---      _    -            --- [    member of    ]--- |        
 [========( )======_==============[ .counter attack. ]==]           
 .         ()     ( )
 .                ()
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