[lkml]   [2003]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectAvoiding "unused variable" warnings
    I think I have seen it somewhere but forgot.

    Is it possible to create a noop macro that makes compiler believe macro
    arguments are used? I mean the case of debug macro that for debug off is
    redefined as something like do { } while(0) but then if arguments are used
    for debugging purposes only compiler emits warning. Some people do not like
    it :)


    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: 2005-03-22 13:46    [W:0.017 / U:6.676 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site