[lkml]   [2008]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] debug: fix BUILD_BUG_ON() for non-constant expressions

* Ingo Molnar <> wrote:

> +#define BUILD_BUG_ON_ZERO2(c) (__BBO(c) - __BBONC(c))
> +#define BUILD_BUG_ON2(c) (void)BUILD_BUG_ON_ZERO(c)
Lars Gullik Bjønnes pointed out that this should have been ZERO2 not
ZERO - but same end result.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2008-08-17 19:57    [W:0.102 / U:1.712 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site