Skip Menu |

This queue is for tickets about the Clone-Closure CPAN distribution.

Report information
The Basics
Id: 117470
Status: new
Priority: 0/
Queue: Clone-Closure

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

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



Subject: Compilation error with perl 5.22 and later
See http://matrix.cpantesters.org/?dist=Clone-Closure%200.06 for an overview of test reports --- with perl 5.22.0 and later there are only "unknown" reports, indicating a compilation error. With perl 5.25.4 I see: cc -I. -I/opt/perl-5.25.4/lib/5.25.4/x86_64-linux/CORE -DVERSION="0.06" -DXS_VERSION="0.06" -fPIC -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 -o lib/Clone/Closure.o lib/Clone/Closure.c In file included from /opt/perl-5.25.4/lib/5.25.4/x86_64-linux/CORE/perl.h:3916:0, from lib/Clone/Closure.xs:2: lib/Clone/Closure.xs: In function ‘CC_cv_clone’: /opt/perl-5.25.4/lib/5.25.4/x86_64-linux/CORE/cv.h:70:25: warning: initialization from incompatible pointer type #define CvPADLIST(sv) (*(assert_(!CvISXSUB((CV*)(sv))) \ ^ lib/Clone/Closure.xs:257:26: note: in expansion of macro ‘CvPADLIST’ AV *const rpadlist = CvPADLIST(ref); ^ lib/Clone/Closure.xs:350:22: warning: assignment from incompatible pointer type CvPADLIST(clone) = cpadlist; ^ In file included from /opt/perl-5.25.4/lib/5.25.4/x86_64-linux/CORE/perl.h:5626:0, from lib/Clone/Closure.xs:2: lib/Clone/Closure.xs: In function ‘pad_clone’: /opt/perl-5.25.4/lib/5.25.4/x86_64-linux/CORE/cv.h:70:25: warning: passing argument 1 of ‘Perl_av_fetch’ from incompatible pointer type #define CvPADLIST(sv) (*(assert_(!CvISXSUB((CV*)(sv))) \ ^ /opt/perl-5.25.4/lib/5.25.4/x86_64-linux/CORE/embed.h:56:46: note: in definition of macro ‘av_fetch’ #define av_fetch(a,b,c) Perl_av_fetch(aTHX_ a,b,c) ^ ...