Re: [RFC][PATCH 1/10] 64 bit resources core changes

From: Al Viro
Date: Thu Mar 23 2006 - 15:58:45 EST


On Thu, Mar 23, 2006 at 12:52:42PM -0800, Linus Torvalds wrote:
>
>
> On Thu, 23 Mar 2006, Arjan van de Ven wrote:
> >
> > hmmmm are there any platforms where unsigned long long is > 64 bits?
> > (and yes it would be nice if there was a u64 printf flag ;)
>
> Adding a new printf flag is technically _trivial_.
>
> The problem is getting gcc not to warn about it every time it sees it
> (while not losing the gcc format string checking entirely). Do newer gcc's
> allow some way of saying "this flag takes this type" for extended format
> definitions?

Well... We could implement that in sparse and tell gcc to stop bothering
with that warning. At which point it becomes trivial to extend...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/