Subject: | Builds unusable code for perl 5.10.1 |
The following line gets created by ExtUtils::Constant:
croak_sv(sv_2mortal(sv));
This fails on Perl 5.10.1 (and likely others), because croak_sv doesn't
exist. By noticing that the sv is in fact a plain SvPV, I managed to get
the code to compile and run against 5.10.1 by just changing this to
croak(SvPV_nolen(sv_2mortal(sv)));
Quite likely a total hack, but it gets my code working. :)
Perhaps EU::C could generate some code for older perls that would
actually work - I'm not sure if this form is best, or something else.
--
Paul Evans