in reply to Re^2: Perl 5.10 and Math::Pari
in thread Perl 5.10 and Math::Pari

I've tried it with the following patch:
1153c1153 < ((CV*)cv)->sv_any->xiv_u.xivu_iv = numargs; /* XXXX Nasty of +us... */ --- > ((CV*)cv)->sv_any->xof_off = numargs; /* XXXX Nasty of us... +*/ 1219c1219 < int numargs = ((CV*)cv)->sv_any->xiv_u.xivu_iv; /* XXXX Nasty + of us... */ --- > int numargs = ((CV*)cv)->sv_any->xof_off; /* XXXX Nasty of us +... */
It seems to work but increases the 'Nasty' level

Replies are listed 'Best First'.
Re^4: Perl 5.10 and Math::Pari
by rafl (Friar) on Feb 20, 2008 at 16:01 UTC

    That way it might compile, but it's still using SvPVX and SvIVX on an AV to store internal information. That breaks as those seem to be used by the AV itself in 5.10.