Subject: | Fails to compile on debugging perls |
As per subject. This is a regression against 0.900010. Sample PASS report for 0.900010: http://www.cpantesters.org/cpan/report/104978686
Diagnostics when trying to compile 0.900012:
cc -c -I. -D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -Wall -std=c89 -D_XOPEN_SOURCE=700 -O2 -g -DVERSION=\"0.900012\" -DXS_VERSION=\"0.900012\" -fPIC "-I/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE" cover.c
In file included from cover.h:14,
from cover.c:13:
cover.c: In function ‘cover_dump’:
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/perl.h:175:16: error: ‘my_perl’ undeclared (first use in this function); did you mean ‘my_fork’?
# define aTHX my_perl
^~~~~~~
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/perl.h:188:18: note: in expansion of macro ‘aTHX’
# define aTHX_ aTHX,
^~~~
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/embed.h:606:38: note: in expansion of macro ‘aTHX_’
#define pregcomp(a,b) Perl_pregcomp(aTHX_ a,b)
^~~~~
cover.c:152:15: note: in expansion of macro ‘pregcomp’
include = pregcomp(newSVpvn(env_filter, strlen(env_filter)), 0);
^~~~~~~~
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/perl.h:175:16: note: each undeclared identifier is reported only once for each function it appears in
# define aTHX my_perl
^~~~~~~
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/perl.h:188:18: note: in expansion of macro ‘aTHX’
# define aTHX_ aTHX,
^~~~
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/embed.h:606:38: note: in expansion of macro ‘aTHX_’
#define pregcomp(a,b) Perl_pregcomp(aTHX_ a,b)
^~~~~
cover.c:152:15: note: in expansion of macro ‘pregcomp’
include = pregcomp(newSVpvn(env_filter, strlen(env_filter)), 0);
^~~~~~~~
cover.c: In function ‘add_get_node’:
cover.c:330:7: warning: variable ‘l’ set but not used [-Wunused-but-set-variable]
int l = 0;
^
cover.c: In function ‘sub_add_get_node’:
cover.c:454:7: warning: variable ‘l’ set but not used [-Wunused-but-set-variable]
int l = 0;
^
make: *** [Makefile:354: cover.o] Error 1