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

Win32::Exe fails compilation on 5.14.0

Thread Next
From:
Alexandr Ciornii
Date:
May 26, 2011 02:54
Subject:
Win32::Exe fails compilation on 5.14.0
Message ID:
BANLkTin_iMWZ2TM+RV6=NesRPy=Cq7-DJA@mail.gmail.com
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

-- 
Alexandr Ciornii, http://chorny.net

Thread Next


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