Steve Fink <[EMAIL PROTECTED]> wrote:
> I am getting a seg fault when doing a very simple subroutine call with
> IMCC:

>     .sub _main
>             newsub $P4, .Sub, _two_of
>             $P6 = new PerlHash
>             .pcc_begin prototyped
                         ^^^^^^^^^^
>     .pcc_sub _two_of non_prototyped
                       ^^^^^^^^^^^^^^

You are stating explicitely conflicting call types. That can't work.
When you remove "non_prototyped" in the sub, its prepared to be called
either way and it works.

leo

Reply via email to