[lkml]   [1999]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: useful exercise
    On Thu, Jan 14, 1999 at 12:51:25AM +0000, Ben Hutchings wrote:
    > On Sun, 10 Jan 1999, Jamie Lokier wrote:
    > <snip>
    > > 3. The "always defined" form is more flexible, because you have
    > > the option of using `#if X', `if (X)' or even using X in an
    > > expression, e.g. `X ? a : b', `X && blah_blah'.
    > <snip>
    > The C pre-processor has a defined() operator that gives you exactly
    > the same flexibility with the possibly-defined form.

    Wrong. defined() only works following #if. You cannot use it to test
    for symbols in a C expression.

    -- Jamie

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

     \ /
      Last update: 2005-03-22 13:49    [W:0.018 / U:58.980 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site