Hi,

Here is a simple test perl (C++) distro that works fine for me on Windows, but not on mdk-9.1 (linux) with either perl 5.8.8 or 5.9.3.

By the looks of the thread that starts at http://www.mail-archive.com/inline@perl.org/msg03304.html this is a bug in perl.

I'm wondering whether that basic test distro works on mandriva with the latest bleadperl. If so, the matter can probably be put to rest ... if not then I should probably investigate further.

I guess I should really install the latest bleadperl myself and test it out - and I'll probably do that tomorrow. In the meantime, I'm interested to hear (of the success or otherwise) from anyone who cares to run that simple test distro ... along with any speculations as to whether the problem lies with perl or whether it lies with the source itself.

IIRC, the Makefile.PL assumes that g++ will be used as the C++ compiler ... otherwise the Makefile.PL may need to be amended.

Cheers,
Rob
Update: Ouch ... that's a far more complex account than what is needed. A simple "hello world" Inline::CPP script demonstrates the same problem. I'll build the latest blead and see what effect that has.

Update 2: No problem with the latest bleadperl, so the issue has obviously been fixed ... which is a relief. (Sorry for the noise.)

In reply to Mandriva and C++ by syphilis

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.