lkml.org 
[lkml]   [2008]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-04-25 21:51    [W:0.163 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site