Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 116254
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: RSCHUPP [...] cpan.org
Requestors: ZDM [...] cpan.org
Cc:
AdminCc:

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



Subject: Compilation error under strawberry perl 5.24 x64
Here is the partial log: gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -I"D:\devel\perl\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -DPP_VERSION=\"1.034\" -s -O2 boot.c In file included from mktmpdir.h:85:0, from mktmpdir.c:1, from boot.c:10: sha1.c: In function 'sha_transform': sha1.c:146:2: warning: right shift count >= width of type T >>= 32; ^ In file included from d:/devel/perl/c/x86_64-w64-mingw32/include/windows.h:95:0, from mktmpdir.h:19, from mktmpdir.c:1, from boot.c:10: boot.c: At top level: boot.c:112:56: error: expected ',' or ';' before numeric constant char pp_version_info[] = "@(#) Packed by PAR::Packer " PP_VERSION; ^ dmake: Error code 129, while making 'boot.o' dmake.exe: Error code 255, while making 'subdirs' FAIL ! Testing R/RS/RSCHUPP/PAR-Packer-1.034.tar.gz failed. See C:\Users\zdm\AppData\Local\Temp\.cpanm\work\1468785122.3024\build.log for details. Retry with --force to force install it.
On 2016-07-17 15:57:56, ZDM wrote: Show quoted text
> boot.c:112:56: error: expected ',' or ';' before numeric constant > char pp_version_info[] = "@(#) Packed by PAR::Packer " PP_VERSION;
s/PP_VERSION/PAR_PACKER_VERSION/ everywhere as Strawberry Perl also defines PP_VERSION (in c/x86_64-w64-mingw32/include/wincrypt.h). Fix committed, will be in the next release. Cheers, Roderich
Subject: Re: [rt.cpan.org #116254] Compilation error under strawberry perl 5.24 x64
Date: Tue, 19 Jul 2016 19:38:28 +0300
To: bug-PAR-Packer [...] rt.cpan.org
From: "dzagashev [...] gmail.com" <dzagashev [...] gmail.com>
Thank you. On 19.07.2016 19:37, Roderich Schupp via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=116254 > > > On 2016-07-17 15:57:56, ZDM wrote:
>> boot.c:112:56: error: expected ',' or ';' before numeric constant >> char pp_version_info[] = "@(#) Packed by PAR::Packer " PP_VERSION;
> s/PP_VERSION/PAR_PACKER_VERSION/ everywhere as Strawberry Perl also defines > PP_VERSION (in c/x86_64-w64-mingw32/include/wincrypt.h). > Fix committed, will be in the next release. > > Cheers, Roderich