in reply to Re: inline in a perl module
in thread inline in a perl module

What did you find?

I think one finds only the same warnings/error messages as have already been printed to the console - but it's certainly worth checking.

The problem, as moritz indicated, lies with the cpp code - which the op has supplied. If the contents of 'main.h' were also supplied we might be able to run the Inline::CPP code and see for ourselves. I think nirf1 first needs to get the code working as an Inline::CPP script before trying to put it into a module. As I said, we would be better placed to help with that if we could see the contents of 'main.h'.

Cheers,
Rob

Replies are listed 'Best First'.
Re^3: inline in a perl module
by samtregar (Abbot) on May 19, 2008 at 00:18 UTC
    I think one finds only the same warnings/error messages as have already been printed to the console

    You'll also find the generated XS code, which is what the compiler is actually choking on.

    -sam

      You'll also find the generated XS code

      Yes, you're correct.

      I keep (mis)reading that error message as advising one to take a look inside 'out.make' - which I don't think tells you anything that hasn't already been printed to the console. But if one reads the message correctly, it recommends checking the files (plural) - not just out.make.

      Cheers,
      Rob