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