Does the code actually access any of the Inline functions ?

My understanding of that error is that perl should be unable to access any of those Inline functions - if there was even a single function that perl could access, then that error message should not appear.

Annoyingly, I can't trigger the error. According to my understanding (and based on what Google turns up) something like the following should produce the error .... but no longer does (if it ever did):
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();
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:
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
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.)

Cheers,
Rob

In reply to Re: Warning. No Inline C functions bound to Perl by syphilis
in thread Warning. No Inline C functions bound to Perl by BrowserUk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.