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

Re: [PATCH ext/Devel/PPPort/PPPort.pm] Changes #20819 and #20996 break compatibility with perl 5.6.0

Thread Previous
From:
Rafael Garcia-Suarez
Date:
October 13, 2003 15:18
Subject:
Re: [PATCH ext/Devel/PPPort/PPPort.pm] Changes #20819 and #20996 break compatibility with perl 5.6.0
Message ID:
20031014002232.27188aa8.rgarciasuarez@free.fr
Marcus Holland-Moritz wrote:
> Trying to build a module using a freshly generated ppport.h
> fails under perl 5.6.0 with something like:
> 
> In file included from C.xs:39:
> ppport.h: In function `_grok_hex':
> ppport.h:617: warning: passing arg 3 of `Perl_scan_hex' from incompatible pointer type
> ppport.h: In function `_grok_oct':
> ppport.h:632: warning: passing arg 3 of `Perl_scan_oct' from incompatible pointer type
> ppport.h: In function `_grok_bin':
> ppport.h:647: warning: passing arg 3 of `Perl_scan_bin' from incompatible pointer type
> ppport.h: In function `Perl_grok_numeric_radix':
> ppport.h:693: `PL_numeric_radix_sv' undeclared (first use in this function)
> ppport.h:693: (Each undeclared identifier is reported only once
> ppport.h:693: for each function it appears in.)
> 
> The problem is that 5.6.0's behaviour is rather 5.005ish,
> which isn't addressed by the mentioned changes.
> 
> Attached patch fixes this.

Thanks, applied as #21445 to bleadperl.

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