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

    * Ingo Molnar <mingo@elte.hu> 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.

    Ingo
    --
    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: 2008-08-17 19:57    [W:0.022 / U:0.172 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site