Subject: | Build error under 5.22 |
This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux-thread-multi-ld
.cpan/build/Time-Object-1.00-0ZvaBa> make
ccache cc -c -D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC "-I/pro/lib/perl5/5.22.0/x86_64-linux-thread-multi-ld/CORE" Object.c
Object.xs:34:14: error: expected declaration specifiers or ‘...’ before ‘(’ token
init_tm(struct tm *ptm) /* see mktime, strftime and asctime */
^
Object.xs:50:1: error: static declaration of ‘Perl_mini_mktime’ follows non-static declaration
mini_mktime(struct tm *ptm)
^
In file included from /pro/lib/perl5/5.22.0/x86_64-linux-thread-multi-ld/CORE/perl.h:5506:0,
from Object.xs:5:
/pro/lib/perl5/5.22.0/x86_64-linux-thread-multi-ld/CORE/proto.h:2702:7: note: previous declaration of ‘Perl_mini_mktime’ was here
PERL_CALLCONV void Perl_mini_mktime(struct tm *ptm)
^
make: *** [Object.o] Error 1