[lkml]   [2007]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectmacros: "do-while" versus "({ })" and a compile-time error

    just to stir the pot a bit regarding the discussion of the two
    different ways to define macros, i've just noticed that the "({ })"
    notation is not universally acceptable. i've seen examples where
    using that notation causes gcc to produce:

    error: braced-group within expression allowed only inside a function

    i wasn't aware that there were limits on this notation. can someone
    clarify this? under what circumstances *can't* you use that notation?

    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: 2007-01-08 20:01    [W:0.019 / U:5.900 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site