Re: [PATCH] objtool: Don't use -Werror

From: 'Luis Ressel'
Date: Fri Apr 05 2019 - 12:36:03 EST


On Fri, Apr 05, 2019 at 06:26:27PM +0200, 'Luis Ressel' wrote:
> On Fri, Apr 05, 2019 at 04:16:14PM +0000, David Laight wrote:
>
> > In which case you should be looking at a way of removing -Wundef
> > not removing -Werror.
>
> No, my whole point is that this blacklisting approach doesn't work
> outside a controlled dev environment, because different
> compilers/compiler versions produce wildy different warnings.

Besides, warnings about purely stylistic issues shouldn't break
compilation for end users, even though you probably want to see them as
a dev, so disabling these warning categories completely doesn't work
particularily well.

Regards,
Luis