Subject: | OP has no member named op_sibling |
Compilation fails for newer perls (5.26.0 and newer):
...
cc -I/usr/perl5.27.2p/lib/5.27.2/amd64-freebsd/CORE -DVERSION="0.002" -DXS_VERSION="0.002" -DPIC -fPIC -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -o lib/Scope/Escape/Sugar.o lib/Scope/Escape/Sugar.c
...
lib/Scope/Escape/Sugar.xs:77:2: error: no member named 'xpad_cop_seq' in 'union _xnvu'
COP_SEQ_RANGE_LOW_set(namesv, PL_cop_seqmax);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
lib/Scope/Escape/Sugar.xs:225:14: error: no member named 'op_sibling' in 'struct op'
if(!pushop->op_sibling) pushop = cUNOPx(pushop)->op_first;
~~~~~~ ^
...