Subject: | Fails with Perl 5.21.x+ |
cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.21/mach/CORE" Generate.c
Generate.xs:786:44: error: no member named 'sv_u' in 'struct padnamelist'
SV * const * const names = AvARRAY(PL_comppad_name);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.21/mach/CORE/av.h:62:28: note: expanded from macro 'AvARRAY'
#define AvARRAY(av) ((av)->sv_u.svu_array)
~~~~ ^
Generate.xs:787:44: error: no member named 'sv_any' in 'struct padnamelist'
const SSize_t names_fill = AvFILLp(PL_comppad_name);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.21/mach/CORE/av.h:65:32: note: expanded from macro 'AvFILLp'
#define AvFILLp(av) ((XPVAV*) SvANY(av))->xav_fill
^~~~~~~~~
/usr/local/lib/perl5/5.21/mach/CORE/sv.h:328:25: note: expanded from macro 'SvANY'
#define SvANY(sv) (sv)->sv_any
~~~~ ^
2 errors generated.
*** [Generate.o] Error code 1