Re: C++, XS, and dNOOP, or Doing Nothing is Hard Work

[email protected] ("Craig A. Berry") Fri, 04 May 2012 18:57:10 -0500
Newsgroups perl.perl5.porters,perl.vmsperl
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