Re: [PATCH 01/24] types: create <asm-generic/int-*.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2008-04-25 at 12:45 -0700, Linus Torvalds wrote:
> 
> On Fri, 25 Apr 2008, H. Peter Anvin wrote:
> > 
> > I have to admit to liking the Windows extension %I64u for this kind of stuff.
> > Unfortunately gcc/glibc decided to use I for internationalized digits instead
> > :(
> 
> The sad part is that this is purely a gcc thing. We could easily do the 
> right thing in the kernel vsnprintf stuff, but then we'd have to drop the 
> nice format warnings from gcc ;(

This looks like something sparse could be made to check though, should
we lose the gcc checking.

In fact, didn't Al Viro mention adding just this kind of checking to
sparse recently?

Harvey

--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux