Skip Menu |

This queue is for tickets about the Date-Pcalc CPAN distribution.

Report information
The Basics
Id: 121130
Status: new
Priority: 0/
Queue: Date-Pcalc

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

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



Subject: XS fails to compile: ToolBox.h:96:24: error: expected identifier before numeric constant
hmod 644 "Pcalc.bs"
"/home/kent/perl5/perlbrew/perls/5.25.11-nossp-sip13-nopmc-nodot/bin/perl5.25.11" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcalc.bs blib/arch/auto/Date/Pcalc/Pcalc.bs 644
cc -c   -fstack-protector-strong -fno-stack-protector -DPERL_HASH_FUNC_SIPHASH13 -DPERL_DISABLE_PMC -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fstack-protector-strong -fno-stack-protector -O3 -march=native -mtune=native   -DVERSION=\"6.1\" -DXS_VERSION=\"6.1\" -fPIC "-I/home/kent/perl5/perlbrew/perls/5.25.11-nossp-sip13-nopmc-nodot/lib/5.25.11/x86_64-linux/CORE"   DatePcalc.c
"/home/kent/perl5/perlbrew/perls/5.25.11-nossp-sip13-nopmc-nodot/bin/perl5.25.11" "/home/kent/perl5/perlbrew/perls/5.25.11-nossp-sip13-nopmc-nodot/lib/5.25.11/ExtUtils/xsubpp"  -typemap '/home/kent/perl5/perlbrew/perls/5.25.11-nossp-sip13-nopmc-nodot/lib/5.25.11/ExtUtils/typemap' -typemap '/home/kent/.cpanm/work/1492232473.15036/Date-Pcalc-6.1/typemap'  Pcalc.xs > Pcalc.xsc
mv Pcalc.xsc Pcalc.c
cc -c   -fstack-protector-strong -fno-stack-protector -DPERL_HASH_FUNC_SIPHASH13 -DPERL_DISABLE_PMC -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fstack-protector-strong -fno-stack-protector -O3 -march=native -mtune=native   -DVERSION=\"6.1\" -DXS_VERSION=\"6.1\" -fPIC "-I/home/kent/perl5/perlbrew/perls/5.25.11-nossp-sip13-nopmc-nodot/lib/5.25.11/x86_64-linux/CORE"   Pcalc.c
In file included from /home/kent/perl5/perlbrew/perls/5.25.11-nossp-sip13-nopmc-nodot/lib/5.25.11/x86_64-linux/CORE/handy.h:77:0,
                 from /home/kent/perl5/perlbrew/perls/5.25.11-nossp-sip13-nopmc-nodot/lib/5.25.11/x86_64-linux/CORE/perl.h:2698,
                 from Pcalc.xs:15:
ToolBox.h:96:24: error: expected identifier before numeric constant
         typedef enum { false = FALSE, true = TRUE } boolean;
                        ^
make: *** [Makefile:342: Pcalc.o] Error 1



-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )