develooper Front page | perl.perl5.porters | Postings from May 2011

Re: Win32::Exe fails compilation on 5.14.0

Thread Previous
From:
Mark Dootson
Date:
May 26, 2011 05:37
Subject:
Re: Win32::Exe fails compilation on 5.14.0
Message ID:
4DDE4978.9070801@znix.com
Hi,

Wrong order for #includes :-(

Win32::Exe 0.16 uploaded to CPAN

also available at

http://code.google.com/p/perlwin32exe/downloads/list

Mark

On 26/05/2011 10:53, Alexandr Ciornii wrote:
> Building of Win32::Exe is a part of building Strawberry Perl.
> Building on 5.12.3 is ok, but 5.14.0 gives following error for Win32::Exe:
>
> In file included from D:\strawberry\perl\lib\CORE/perl.h:2464,
>                   from InsertResourceSection.xs:1:
> D:\strawberry\perl\lib\CORE/handy.h:624: error: expected '=', ',',
> ';', 'asm' or '__attribute__' before 'U32'
> dmake:  Error code 129, while making 'InsertResourceSection.o'
>
> line 624 of handy.h is
> EXTCONST U32 PL_charclass[];
>
> EXTCONST is defined in EXTERN.h and INTERN.h
>
> EXTERN.h is included by win32.h
> win32.h is included by perl.h, but later than line 2464 (which is
> #include "handy.h").
>
> By looking at cpantesters, building on Linux is ok, but there are no
> results for Windows for perl 5.14.0:
> http://matrix.cpantesters.org/?dist=Win32-Exe+0.15
>

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About