Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined value warning with use Inline 'info'; #45

Closed
jimav opened this issue Mar 20, 2019 · 1 comment
Closed

undefined value warning with use Inline 'info'; #45

jimav opened this issue Mar 20, 2019 · 1 comment

Comments

@jimav
Copy link
Contributor

jimav commented Mar 20, 2019

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;

Inline.REPORTBUG.tar.gz

@mohawk2
Copy link
Collaborator

mohawk2 commented Mar 24, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants