Subject: | Compilation error with 5.23.8 and later |
See http://matrix.cpantesters.org/?dist=Params-Lazy%200.005 for an overview.
Failing compile starts with:
cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.005\" -DXS_VERSION=\"0.005\" -fPIC "-I/opt/perl-5.24.1-RC2/lib/5.24.1/x86_64-linux/CORE" Lazy.c
In file included from /opt/perl-5.24.1-RC2/lib/5.24.1/x86_64-linux/CORE/perl.h:3900:0,
from Lazy.xs:6:
Lazy.xs: In function ‘S_do_force’:
/opt/perl-5.24.1-RC2/lib/5.24.1/x86_64-linux/CORE/pad.h:421:39: error: ‘struct block_sub’ has no member named ‘oldcomppad’
#define CX_CURPAD_SAVE(block) (block).oldcomppad = PL_comppad
^
Lazy.xs:531:5: note: in expansion of macro ‘CX_CURPAD_SAVE’
CX_CURPAD_SAVE(cx->blk_sub);
^
In file included from /opt/perl-5.24.1-RC2/lib/5.24.1/x86_64-linux/CORE/perl.h:5615:0,
from Lazy.xs:6:
/opt/perl-5.24.1-RC2/lib/5.24.1/x86_64-linux/CORE/pad.h:422:60: error: ‘struct block_sub’ has no member named ‘oldcomppad’
#define CX_CURPAD_SV(block,po) (AvARRAY(MUTABLE_AV(((block).oldcomppad)))[po])
^
/opt/perl-5.24.1-RC2/lib/5.24.1/x86_64-linux/CORE/embed.h:548:44: note: in definition of macro ‘save_sptr’
#define save_sptr(a) Perl_save_sptr(aTHX_ a)
^
Lazy.xs:537:9: note: in expansion of macro ‘SAVESPTR’
SAVESPTR(CX_CURPAD_SV(cx->blk_sub, 0));
^
/opt/perl-5.24.1-RC2/lib/5.24.1/x86_64-linux/CORE/pad.h:422:33: note: in expansion of macro ‘AvARRAY’
#define CX_CURPAD_SV(block,po) (AvARRAY(MUTABLE_AV(((block).oldcomppad)))[po])
^
...