Have you tried enabling trace?I just tried the
-d:Trace and that did give me the line number in P::RD where the eval is called. It was indeed line 7974 (which comes from Inline/CPP/grammar.pm) of that string that was causing the problem:
$return .= join '',' ',@{$item{$Inline::CPP::grammar::star}} if @{$ite
+m{$Inline::CPP::grammar::star}};
So I made the excution of that line of code conditional upon
$item{$Inline::CPP::grammar::star} being defined, and the problem went away.
Unfortunately, that's not the whole solution, as the grammar is still broken. From the first inline::CPP test script (during 'make test') I now get:
_01basic_t_5cd2.c: In function `void XS_main__Soldier_new(PerlInterpre
+ter*, CV*)
':
_01basic_t_5cd2.c:79: error: no matching function for call to `Soldier
+::Soldier(
)'
_01basic_t_5cd2.xs:16: note: candidates are: Soldier::Soldier(const So
+ldier&)
_01basic_t_5cd2.xs:30: note: Soldier::Soldier(char*, c
+har*, int)
dmake: Error code 129, while making '_01basic_t_5cd2.o'
Given that Inline::CPP is no longer maintained, I see little point in digging further ... though, of course, pointlessness does not necessarily deter me :-)
I'm just glad that Inline::C hasn't similarly been destroyed by the latest versions of P::RD.
Cheers,
Rob
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.