Re: [RFC][PATCH 1/10] 64 bit resources core changes
From: Arjan van de Ven
Date: Thu Mar 23 2006 - 16:04:54 EST
On Thu, 2006-03-23 at 21:02 +0000, Al Viro wrote:
> On Thu, Mar 23, 2006 at 09:56:59PM +0100, Arjan van de Ven wrote:
> > On Thu, 2006-03-23 at 12:52 -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?
> >
> > afaics there is none... even if there was a "just don't warn about this
> > one" would be nice.. but I don't see that either.
>
> -Wformat is what enables those, so we can turn them all off.
sure it's all or nothing. not "all but the u64 one"
-
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/