# The following was supposedly scribed by
# David Cantrell
# on Thursday 05 August 2004 06:10 am:

>When I try to use my module (which is incomplete, but should AFAICT at
>least compile the C code) I get errors from the compiler, with it
>muttering lots about errors calling Perl_stack_grow - which I don't
>mention at all in my code.

But you are using macros which use it.

check the Inline::C manual:
  Inline_Stack_Vars ... NOTE: Since this macro declares variables, you'll need 
to put it with your other variable declarations at the top of your function. 
It must come before any executable statements and before any other 
Inline_Stack macros.

Another note:  Compiler errors are always going to be in the context of the 
generated .xs code.  Finding that and reading it will sometimes be 
enlightening.

--Eric
-- 
"Left to themselves, things tend to go from bad to worse."
                                        --Murphy's Corollary

Reply via email to