lkml.org 
[lkml]   [2021]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] Enable '-Werror' by default for all kernel builds
    On Wed, Sep 8, 2021 at 10:59 PM Christoph Hellwig <hch@infradead.org> wrote:
    >
    > While we're at it, with -Werror something like this is really futile:

    Yeah, I'm thinking we could do

    -Wno-error=cpp

    to at least allow the cpp warnings to come through without being fatal.

    Because while they can be annoying too, they are most definitely under
    our direct control, so..

    I didn't actually test that, but I think it should work.

    That said, maybe they should just be removed. They might be better off
    just as Kconfig rules, rather than as a "hey, you screwed up your
    Kconfig" warning after the fact.

    Linus

    \
     
     \ /
      Last update: 2021-09-09 18:52    [W:6.442 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site