Subject: | Devel::Declare 0.006009 fails in Declare.xs compile, 0.006008 doesn't |
Date: | Tue, 07 Feb 2012 14:38:58 +0100 |
To: | bug-Devel-Declare [...] rt.cpan.org |
From: | Thijs Oppermann <thijs.oppermann [...] tty.nl> |
Devel::Declare 0.006009 fails to compile for me, while 0.006008 with
exact same everything else does (perl 5.8.8).
If more info is needed, I'd be happy to supply it.
Build log outtake:
Building Devel-Declare-0.006009
make[2]: Entering directory
`/home/xxx/.cpanm/work/1328548379.12194/Devel-Declare-0.006009'
cp lib/Devel/Declare/Context/Simple.pm
blib/lib/Devel/Declare/Context/Simple.pm
cp lib/Devel/Declare.pm blib/lib/Devel/Declare.pm
cp lib/Devel/Declare/MethodInstaller/Simple.pm
blib/lib/Devel/Declare/MethodInstaller/Simple.pm
/home/xxx/project/perlkit/root-5.8.8/bin/perl "-Iinc"
/home/xxx/project/perlkit/root-5.8.8/lib/perl5/ExtUtils/xsubpp -typemap
/home/xxx/project/perlkit/root-5.8.8/lib/5.8.8/ExtUtils/typemap
Declare.xs > Declare.xsc && mv Declare.xsc Declare.c
cc -c
-I/home/xxx/project/perlkit/root-5.8.8/lib/perl5/x86_64-linux/B/Hooks/OP/Check/Install
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"0.006009\" -DXS_VERSION=\"0.006009\" -fpic
"-I/home/xxx/project/perlkit/root-5.8.8/lib/5.8.8/x86_64-linux/CORE"
Declare.c
In file included from Declare.xs:6:
stolen_chunk_of_toke.c: In function ‘my_Ilinestart_ptr’:
stolen_chunk_of_toke.c:120: error: expected expression before ‘->’ token
stolen_chunk_of_toke.c: In function ‘my_Isublex_info_ptr’:
stolen_chunk_of_toke.c:122: error: expected expression before ‘->’ token
Declare.xs: In function ‘call_done_declare’:
Declare.xs:259: warning: format ‘%i’ expects type ‘int’, but argument 2
has type ‘long int’
Declare.xs:261: warning: format ‘%i’ expects type ‘int’, but argument 2
has type ‘long int’
Declare.xs:276: warning: format ‘%i’ expects type ‘int’, but argument 2
has type ‘long int’
Declare.xs:278: warning: format ‘%i’ expects type ‘int’, but argument 2
has type ‘long int’
Declare.xs:279: warning: format ‘%i’ expects type ‘int’, but argument 2
has type ‘size_t’
make[2]: *** [Declare.o] Error 1
Thijs