lkml.org 
[lkml]   [2007]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Use more gcc extensions in the Linux headers
On Fri, 09 Mar 2007 23:03:05 -0500 Valdis.Kletnieks@vt.edu wrote:

> On Sat, 10 Mar 2007 09:57:32 +1100, Rusty Russell said:
>
> > +/* GCC is awesome. */
> > #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) \
> > + sizeof(typeof(int[1 - 2*!!__builtin_types_compatible_p(typeof(arr), \
> > typeof(&arr[0]))]))*0)
>
> -/* GCC is awesome. */
> +/* GCC leaves me speechless. */

"awesome" can mean "inspiring awe or admiration or wonder" (amazing)
or it can mean "awful" (as in terrifying). 8)

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-03-10 05:29    [W:0.747 / U:0.744 seconds]
©2003-2014 Jasper Spaans. Advertise on this site