Skip Menu |
 

This queue is for tickets about the Devel-Declare CPAN distribution.

Report information
The Basics
Id: 74744
Status: resolved
Priority: 0/
Queue: Devel-Declare

People
Owner: Nobody in particular
Requestors: thijs.oppermann [...] tty.nl
Cc:
AdminCc:

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



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
Subject: Re: [rt.cpan.org #74744] Devel::Declare 0.006009 fails in Declare.xs compile, 0.006008 doesn't
Date: Tue, 7 Feb 2012 13:42:54 +0000
To: Thijs Oppermann via RT <bug-Devel-Declare [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
Download (untitled) / with headers
text/plain 307b
Thijs Oppermann via RT wrote: Show quoted text
>stolen_chunk_of_toke.c: In function `my_Ilinestart_ptr': >stolen_chunk_of_toke.c:120: error: expected expression before `->' token
Thanks for the report. This is a fault in a portability fix for Windows. Looks like it'll fail on all non-threading Perls. Fix soon. -zefram
Fixed in Devel-Declare-0.006010.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.