undefined value warning with use Inline 'info';
Closed this issue · 1 comments
jimav commented
use Inline 'info';
...causes this warning to appear:
Can't use an undefined value as an ARRAY reference at .../Inline/C.pm line 315
Using Inline::CPP VERSION 0.75 (the latest in cpan as of today)
and perl v5.26.2
reportbug data will be attached.
#!/usr/bin/perl
use strict; use warnings;
#use Inline 'reportbug';
use Inline 'info'; # **causes internal warning**
use Inline CPP => 'void foo() { printf("Hello\n"); }'
;
foo;
mohawk2 commented
Thanks for the report! This was due to Inline::CPP and Inline::C having different data structures internally, which is now (on master
) not the case.