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=112776Thread Previous | Thread Next