in reply to Warning. No Inline C functions bound to Perl
Because there's no typemap to tell Perl how to deal with a 'double*', Perl is unable to bind to that function (though the compilation succeeds) ... and since that's the only Inline::C function in the script, I expected to see the error in question. Instead, all I get is:use warnings; use Inline C => <<'END_OF_C_CODE'; double * foo() { double a = 123.456, *x; x = &a; return x; } END_OF_C_CODE print "Compiled and running\n"; $z = foo();
You're running Inline-0.44 and perl 5.8.x ? (Just wondering if that particular error is an Inline-0.43 and/or perl 5.6.x feature.)Compiled and running Use of inherited AUTOLOAD for non-method main::foo() is deprecated at +try.pl line 13. Can't locate auto/main/foo.al in @INC (@INC contains: D:\pscrpt\inline +\_Inline\lib D:/perl58_M/5.8.8/lib D:/perl58_M/site/5.8.8/lib D:/perl +58_M/site/lib .) at try.pl line 13
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Warning. No Inline C functions bound to Perl
by bart (Canon) on Feb 19, 2006 at 02:18 UTC | |
by syphilis (Archbishop) on Feb 19, 2006 at 03:54 UTC | |
by bart (Canon) on Feb 19, 2006 at 09:47 UTC | |
by syphilis (Archbishop) on Feb 20, 2006 at 02:00 UTC | |
|
Re^2: Warning. No Inline C functions bound to Perl
by BrowserUk (Patriarch) on Feb 19, 2006 at 05:45 UTC | |
by syphilis (Archbishop) on Feb 20, 2006 at 00:46 UTC | |
by BrowserUk (Patriarch) on Feb 20, 2006 at 10:37 UTC |