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

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

Thread Next
From:
Marcus Holland-Moritz
Date:
September 30, 2003 10:24
Subject:
[PATCH ext/Devel/PPPort/PPPort.pm] Changes #20819 and #20996 break compatibility with perl 5.6.0
Message ID:
021e01c38777$93ea4e10$0c2f1fac@R2D2
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.

-- Marcus

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