Re: [PATCH v1 1/1] Makefile.extrawarn: Turn off -Werror when extra warnings are enabled
From: Andy Shevchenko
Date: Fri Mar 25 2022 - 10:54:23 EST
On Fri, Mar 25, 2022 at 11:34:06PM +0900, Masahiro Yamada wrote:
> On Fri, Mar 25, 2022 at 10:13 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> >
> > When `make W=1 ...` is executed the level 1 warnings become errors,
> > due to recent change in some of the defconfigs, and fail the build.
> > Since there are a lot of warnings on the level 1 are still present
> > in the defconfigs at least for x86, let disable -Werror in such case.
>
>
> commit b339ec9c229aaf399296a120d7be0e34fbc355ca
> made WERROR default to COMPILE_TEST.
>
> WERROR should not be enabled for regular builds.
>
> b9080ba4a6ec should be reverted.
Hmm... works for me, but have you read this discussion:
https://lore.kernel.org/r/YjsCpoRK7W4l6tSh@xxxxxxx
?
--
With Best Regards,
Andy Shevchenko