[PATCH] Suppress a warning about mismatched parameter in format string (expected long int, provided unsigned int).
dickey at radix.net
Wed Apr 25 05:51:07 PDT 2007
On Wed, Apr 25, 2007 at 02:34:36PM +0200, Samuel Thibault wrote:
> Samuel Thibault, le Wed 25 Apr 2007 14:23:37 +0200, a écrit :
> > Giuseppe Bilotta, le Wed 25 Apr 2007 14:15:33 +0200, a écrit :
> > > gcc has a 'z' format string
> > > extension that handles this (%zu turns out as the correct architecture
> > > dependent size_t) ... can we rely on it?
> > It's not an extension, it's described in susv3.
> It's even in C99 actually.
That's only a half-answer. The complete answer would be to point out
whether one can rely on the feature for the compilers that are expected
to be on the platforms which the code would be compiled on.
(curious if anyone's going to provide that information)
Thomas E. Dickey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 228 bytes
Desc: not available
More information about the xorg