Skip Menu |
 

This queue is for tickets about the PerlIO-gzip CPAN distribution.

Report information
The Basics
Id: 92031
Status: patched
Priority: 0/
Queue: PerlIO-gzip

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

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



Subject: printf format mismatch
Date: Fri, 10 Jan 2014 16:31:29 +0000
To: bug-PerlIO-gzip [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Download (untitled) / with headers
text/plain 260b
gcc says: gzip.xs: In function 'PerlIOGzip_popped': gzip.xs:870:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'IV' [-Wformat] Attached patch fixes, without worrying about perl version portability of the IVdf macro. -zefram
Download iv_format.patch
text/x-diff 416b

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 842b
On Fri Jan 10 11:31:40 2014, zefram@fysh.org wrote: Show quoted text
> gcc says: > > gzip.xs: In function 'PerlIOGzip_popped': > gzip.xs:870:5: warning: format '%d' expects argument of type 'int', > but argument 2 has type 'IV' [-Wformat] > > Attached patch fixes, without worrying about perl version portability > of the IVdf macro.
That was added by this commit: commit 57def98fcb6c98601beaf31e3c48ad681bfdc2a3 Author: Jarkko Hietaniemi <jhi@iki.fi> Date: Sat Oct 2 23:05:50 1999 +0000 Untangle the IV_IS_QUAD jungle by introduding macros to be used when doing formatted printing: IVdf, UVuf, UVxf, UVof. Also introduce Uid_t_SIGN. p4raw-id: //depot/cfgperl@4288 It predates 5.8.0, which is already the minimum version requirement, so it's not a problem. Thanks applied. Along with your other patch, uploaded to CPAN as 0.19


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.