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

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

Thread Next
Nikola Knezevic
August 13, 2001 14:21
[PATCH bleadperl CORE] removing sv.c warnings on VC++5.0
Message ID:
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

..\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========[ ]=======]      
 |---      _    -            --- [    member of    ]--- |        
 [========( )======_==============[ .counter attack. ]==]           
 .         ()     ( )
 .                ()
Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About