Re: C++, XS, and dNOOP, or Doing Nothing is Hard Work
"Craig A. Berry" <[email protected]> Fri, 04 May 2012 18:57:10 -0500
| Newsgroups | gmane.comp.lang.perl.perl5.porters,gmane.comp.lang.perl.ports.vms |
|---|---|
| Message-ID | <[email protected]> |
On May 4, 2012, at 4:09 PM, Mark Berryman wrote:
> Will this work for you?
>
> #ifdef __cplusplus
> extern "C" { extern int Perl___notused(void); }
> #else
> extern int Perl___notused(void);
> #endif
That does get it compiling, thanks. If I manage to get it far enough to link, I wonder what will happen, i.e, whether I'll get an undefined symbol for Perl___notused.
________________________________________
Craig A. Berry
mailto:[email protected]
"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser