Re: [1/2] Make BUILD_BUG_ON fail at compile time.

From: Christoph Hellwig
Date: Sat Sep 10 2005 - 08:22:45 EST


On Sat, Sep 10, 2005 at 02:04:40PM +0200, Andi Kleen wrote:
> Make BUILD_BUG_ON fail at compile time.
>
> Force a compiler error instead of a link error, because they
> are easier to track down. Idea stolen from code by Jan Beulich.
>
> Cc: jbeulich@xxxxxxxxxx

reiser4 seems to have a duplicate version of this, Hans, can you switch
over to the common one once this is in?

-
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/