Tue Oct 10 10:37:23 2017: Request 123232 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: commandline arguments under windows
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: [email protected]
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=123232 >
On 2017-10-10 08:02:57, [email protected] wrote:>
> Trying to upgrade the W64 environment, I get a compiler error:
...
> boot.c: In function 'shell_quote':
> boot.c:123:15: warning: initialization discards 'const' qualifier
> from
> pointer target type
> char *p = src;
> ^
> boot.c: In function 'main':
> boot.c:264:5: error: 'for' loop initial declarations are only allowed
> in
> C99 or C11 mode
> for (char **argp = argv; *argp; argp++)
> ^
> boot.c:264:5: note: use option -std=c99, -std=gnu99, -std=c11 or
> -std=gnu11 to compile your code
> dmake: Error code 129, while making 'boot.o'
Known problem, already fixed in GitHub repo.
Wait for the next release or apply the following patch
https://github.com/rschupp/PAR-Packer/commit/635a2dac2bc56d5e388d4ec831c2a92fd32f46ef
Cheers, Roderich