[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4812357C.5010904@zytor.com>
Date: Fri, 25 Apr 2008 12:48:12 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Matthew Wilcox <matthew@....cx>,
Jan Engelhardt <jengelh@...putergmbh.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Arch Mailing List <linux-arch@...r.kernel.org>
Subject: Re: [PATCH 01/24] types: create <asm-generic/int-*.h>
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 ;(
>
Yes, that's the fundamental problem.
There isn't even a flag for gcc to set this behaviour, with the result
that any code compiled with MinGW (gcc for Win32) spews warnings like crazy.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists