develooper Front page | perl.perl5.porters | Postings from May 2012

[perl #112776] Uninitialized value $ExtUtils::ParseXS::num in subtraction

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
May 5, 2012 15:15
Subject:
[perl #112776] Uninitialized value $ExtUtils::ParseXS::num in subtraction
Message ID:
rt-3.6.HEAD-4610-1336256109-1444.112776-15-0@perl.org
On Sat May 05 12:37:25 2012, cjm wrote:
> This is a bug report for perl from perl@cjmweb.net,
> generated with the help of perlbug 1.39 running under perl 5.14.2.
> 
> 
> -----------------------------------------------------------------
> 
> I'm working on a Perl module using XS to bind to a C library. When I
> build it, I'm getting a warning message saying
> 
>   Use of uninitialized value $num in subtraction (-) at
>   /usr/lib/perl5/vendor_perl/5.14.2/ExtUtils/ParseXS.pm line 1769,
>   <GEN8> line 90.
> 
> This is triggered by the code generated by ExtUtils::Constant.
> Commenting out the INCLUDE: const-xs.inc line in Foo.xs removes the
> warning. I don't know whether the bug is in ExtUtils::ParseXS or
> in ExtUtils::Constant, but even if EU::C is generating bogus code,
> EU::PXS shouldn't be emitting warnings like that.
> 
> I'm using ExtUtils::Constant 0.23, ExtUtils::ParseXS 3.15,
> Module::Build 0.38, and Perl 5.14.2.
> 

Do you get this warning if you use the (older) version of
ExtUtils::ParseXS that came with Perl 5.14.2 -- v2.2210?

jimk


---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=112776

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