lkml.org 
[lkml]   [2011]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC PATCH] kbuild: implement several W= levels
    From
    Date
    On Thu, 2011-04-21 at 23:39 +0200, Sam Ravnborg wrote:
    > Building a kernel with "make W=1" produce far too much noise
    > to be usefull.
    > Divide the warning options in three groups:
    > W=1 - usefull warning options
    > W=2 - noisy but semi usefull warnign options
    > W=3 - almost pure noise options
    > +warning-1 := -Wextra
    []
    > +warning-2 += -Waggregate-return

    This is a different form for this first warning-2 declaration
    than the first warning-1 declaration.

    Maybe this should be := instead?

    Maybe there's a way to do something akin to

    warning_type(level, option)

    So these become

    warning_type(1, extra)
    warning_type(2, aggregate-return)

    etc.




    \
     
     \ /
      Last update: 2011-04-22 00:01    [from the cache]
    ©2003-2014 Jasper Spaans. Advertise on this site