[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72nM4d-rc_qUMUEisXyEU9A0mbW=O_w5X0zoqWNPLacuNw@mail.gmail.com>
Date: Fri, 16 Aug 2019 00:59:34 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: Nathan Huckleberry <nhuck@...gle.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michal Marek <michal.lkml@...kovi.net>,
Joe Perches <joe@...ches.com>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
clang-built-linux <clang-built-linux@...glegroups.com>
Subject: Re: [PATCH] kbuild: Require W=1 for -Wimplicit-fallthrough with clang
On Thu, Aug 15, 2019 at 10:45 PM Nathan Chancellor
<natechancellor@...il.com> wrote:
>
> I am still not a huge fan of the CONFIG_CC_IS_CLANG ifdefs but I don't
> really see a much cleaner way to get around this. Some that come to
> mind:
Yeah...
> * Revert commit bfd77145f35c ("Makefile: Convert -Wimplicit-fallthrough=3
> to just -Wimplicit-fallthrough for clang") for the time being and just
> rely on adding -Wimplicit-fallthrough to KCFLAGS for testing.
I would avoid applying commits that will have to be reverted just for
Clang, particularly since it is not fully supported yet.
Cheers,
Miguel
Powered by blists - more mailing lists