[lkml]   [2004]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] fix warning about duplicate 'const'

    On Tue, 9 Mar 2004, Richard Henderson wrote:
    > seems dicey at best. I'm not sure what to do about this, actually.
    > We might could do something with a new __nonqual_typeof(a) that
    > strips outermost type qualifications, but I havn't given that much
    > thought.

    Ok, let's try just stripping the "const" out of the min/max macros, and
    see what complains. What the code _really_ wants to do is to just compare
    two types for being basically equal, and in real life what Linux really
    would prefer is to have "types" as first-class citizens and being able to
    compare them directly instead of playing games. And we may end up having
    that as a preprocessor phase (ie I might add it to the semantic parse

    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: 2009-11-18 23:46    [W:0.019 / U:36.816 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site