Subject: | Fails with Perl 5.21+ |
Building Parse-Perl
cc -I/usr/local/lib/perl5/5.21/mach/CORE -DVERSION="0.007" -DXS_VERSION="0.007" -DPIC -fPIC -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -o lib/Parse/Perl.o lib/Parse/Perl.c
lib/Parse/Perl.xs:529:6: warning: incompatible pointer types initializing 'AV *' (aka 'struct av *') with an expression of type 'PADLIST *' (aka 'struct padlist *') [-Wincompatible-pointer-types]
AV *padlist = CvPADLIST(function);
^ ~~~~~~~~~~~~~~~~~~~
lib/Parse/Perl.xs:544:13: error: no member named 'xpadn_low' in 'struct sv'
(seq > COP_SEQ_RANGE_LOW(namesv) &&
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.21/mach/CORE/pad.h:106:38: note: expanded from macro 'COP_SEQ_RANGE_LOW'
#define COP_SEQ_RANGE_LOW(pn) (pn)->xpadn_low
~~~~ ^
lib/Parse/Perl.xs:545:14: error: no member named 'xpadn_high' in 'struct sv'
seq <= COP_SEQ_RANGE_HIGH(namesv))) &&
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.21/mach/CORE/pad.h:107:39: note: expanded from macro 'COP_SEQ_RANGE_HIGH'
#define COP_SEQ_RANGE_HIGH(pn) (pn)->xpadn_high
~~~~ ^
lib/Parse/Perl.xs:590:11: warning: incompatible pointer types assigning to 'AV *' (aka 'struct av *') from 'PADLIST *' (aka 'struct padlist *') [-Wincompatible-pointer-types]
padlist = CvPADLIST(cv);
^ ~~~~~~~~~~~~~
lib/Parse/Perl.xs:674:6: warning: incompatible pointer types initializing 'AV *' (aka 'struct av *') with an expression of type 'PADLIST *' (aka 'struct padlist *') [-Wincompatible-pointer-types]
AV *padlist = CvPADLIST(func);
^ ~~~~~~~~~~~~~~~
lib/Parse/Perl.xs:691:9: error: no member named 'xpadn_low' in 'struct sv'
pix = PARENT_PAD_INDEX(namesv);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.21/mach/CORE/pad.h:108:37: note: expanded from macro 'PARENT_PAD_INDEX'
#define PARENT_PAD_INDEX(pn) (pn)->xpadn_low
~~~~ ^
lib/Parse/Perl.xs:711:27: error: no member named 'xpadn_flags' in 'struct sv'
!(SvPADSTALE(vsv) && !SvPAD_STATE(namesv))))
^
/usr/local/lib/perl5/5.21/mach/CORE/pad.h:340:22: note: expanded from macro 'SvPAD_STATE'
#define SvPAD_STATE PadnameIsSTATE
^
/usr/local/lib/perl5/5.21/mach/CORE/pad.h:327:29: note: expanded from macro 'PadnameIsSTATE'
#define PadnameIsSTATE(pn) (PadnameFLAGS(pn) & PADNAMEt_STATE)
^~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.21/mach/CORE/pad.h:317:32: note: expanded from macro 'PadnameFLAGS'
#define PadnameFLAGS(pn) (pn)->xpadn_flags
~~~~ ^
3 warnings and 4 errors generated.
error building lib/Parse/Perl.o from 'lib/Parse/Perl.c' at /usr/local/lib/perl5/5.21/ExtUtils/CBuilder/Base.pm line 173.
*** Error code 2