fix some printf mismatches

Geoffrey Keating geoffk@apple.com
Sat May 19 00:05:00 GMT 2007


On 18/05/2007, at 4:19 PM, Joseph S. Myers wrote:

> On Fri, 18 May 2007, Geoffrey Keating wrote:
>
>> is not wrong; ISO C doesn't strictly permit this (although it is  
>> not a
>> problem on any platform I know about).  It turns out that looking for
>
> Whether ISO C permits it (for values representable in both types) is
> heavily disputed (the question is whether the latitude given for  
> va_arg
> also applies to standard library functions).

I'd suggest that if it's heavily disputed, perhaps GCC should warn  
about it by default, and certainly GCC's source code shouldn't rely on  
one of the answers being correct...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2462 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070519/7bd26d29/attachment.p7s>


More information about the Gcc-patches mailing list