Skip Menu |

This queue is for tickets about the B-Foreach-Iterator CPAN distribution.

Report information
The Basics
Id: 112295
Status: open
Priority: 0/
Queue: B-Foreach-Iterator

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.07
Fixed in: (no value)



Subject: Compilation failure with perl 5.23.8
The XS part does not compile anymore with perl 5.23.8 (5.23.7 was fine): cc -c "-I." -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -Wall -W -Wno-comment -O2 -pipe -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" -o Iterator.o -DPIC -fPIC "-I/usr/perl5.23.8p/lib/5.23.8/amd64-freebsd/CORE" -DUSE_PPPORT Iterator.c Iterator.xs:138:5: error: no member named 'iterary' in 'struct block_loop' if(CxLOOP_FOR(cx)) { /* foreach(list) */ ^~~~~~~~~~~~~~ Iterator.xs:37:35: note: expanded from macro 'CxLOOP_FOR' #define CxLOOP_FOR(cx) (SvTYPE(CxITERARY(cx)) == SVt_PVAV) ~~~~~~~^~~~~~~~~~~~~~ Iterator.xs:40:43: note: expanded from macro 'CxITERARY' #define CxITERARY(cx) ((cx)->blk_loop.iterary) ^ /usr/perl5.23.8p/lib/5.23.8/amd64-freebsd/CORE/sv.h:351:31: note: expanded from macro 'SvTYPE' #define SvTYPE(sv) ((svtype)((sv)->sv_flags & SVTYPEMASK)) ^ Iterator.xs:139:28: error: no member named 'iterary' in 'struct block_loop' bool const av_is_stack = CxITERARY_IS_STACK(cx); ^~~~~~~~~~~~~~~~~~~~~~ Iterator.xs:41:33: note: expanded from macro 'CxITERARY_IS_STACK' #define CxITERARY_IS_STACK(cx) (CxITERARY(cx) == PL_curstack) ^~~~~~~~~~~~~ ...
This library relied on a non-public API which has been updated. It is now documented (but still unstable) here: https://metacpan.org/pod/release/XSAWYERX/perl-5.23.8/pod/perlguts.pod#Dynamic-Scope-and-the-Context-Stack -- rjbs