On Tuesday 17 June 2008 21:06:32 Sisyphus wrote:
> However, both Inline::CPP and InlineX::CPP2XS have no problem with the
> following form of the version() function:

I missed this on my first pass...

Like I said in my original email, I had already tried it without the 
namespaces.

I thought it was interesting that you could get it to work and I couldn't; the 
only difference is that I was referencing an external file and you were using 
a heredoc.

So I tried it out, and 'lo and behold I get that error when I compile my C++ 
snippet from an external file.

If I provide it as a string, it works great. The exact same code.

Since I really want to keep the stuff in a separate file, I'll work around 
that for now, but do you have any idea what might be causing this? I'll be 
happy to do whatever's necessary (including helping with a patch) to get this 
bug nixed.

If it helps any, I'm using perl 5.8.8 from ubuntu hardy and my version of 
Inline/Inline::C/Inline::CPP was installed just a few days ago from CPAN. 
I'll get version numbers if that'll help.

Thanks,

-Erik

Reply via email to