Messages in this thread | | | Date | Fri, 5 Apr 2019 18:26:27 +0200 | From | 'Luis Ressel' <> | Subject | Re: [PATCH] objtool: Don't use -Werror |
| |
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.
I'm aware of several Linux distros which remove -Werror from build systems whereever it is encountered. It's a well-known fact among distributors that enabling -Werror for production builds is a bad idea.
Cheers, Luis
| |