Messages in this thread |  | | | Date | Sun, 02 Mar 2008 22:28:07 -0800 | | From | "H. Peter Anvin" <> | | Subject | Re: [PATCH 1/2] Add C99-style constructor macros for specific-sized integers | |
Al Viro wrote:
>
> Oh, for... It's not as if we _had_ anything better for u64 than %ull and
> convert the argument to unsigned long long for that family.
>
> Unless you are seriously suggesting the use of vomit-inducing atrocity of
> PRIu64 and constant concatenation in there, that is. I would rather move
> typechecking for printk-style functions to sparse and tell gcc to STFU
> completely on that class of warnings. Making it extensible, while we are
> at it - i.e. telling sparse that this conversion is to be used for dma_addr_t,
> etc.
No, I'm not suggesting that. I'd rather have the Windoze extension of
%I64u, which of course gcc doesn't recognize.
-hpa
|  |