login
Header Space

 
 

Re: [PATCH 1/2] Add C99-style constructor macros for specific-sized integers

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>, Linux Arch Mailing List <linux-arch@...>, Linux Kernel Mailing List <linux-kernel@...>, David Brownell <dbrownell@...>
Date: Monday, March 3, 2008 - 4:23 pm

>> Do these new macros really buy anything over just writing LL in the

GCC doesn't warn for implicit narrowing that doesn't change value.

The printk() example is a read herring IMHO, since variable arguments
functions are "very speshul" anyway, and require explicit casts in
many cases.


Segher

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/2] Add C99-style constructor macros for specifi..., Segher Boessenkool, (Sun Mar 2, 11:20 pm)
Re: [PATCH 1/2] Add C99-style constructor macros for specifi..., Segher Boessenkool, (Mon Mar 3, 4:23 pm)
[PATCH 2/2] Use U64_C() instead of casts in kernel/time.c, H. Peter Anvin, (Sun Mar 2, 8:09 pm)
speck-geostationary