<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 16, 2016 at 11:01 AM, David Blaikie via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What other warnings do we default to error? Do we seem to have any (defacto or explicit) guideline for deciding?</div></blockquote><div><br></div><div>My feeling is that we shouldn't do this in upstream clang. The vast majority of our default-error warnings are actually checks for invalid code that we want to be able to accept in system headers. To my knowledge, none of our existing default-error warnings fire on well-formed code, which this is.</div><div><br></div><div>I think it's totally reasonable for vendors to want to make this default to an error, though. :)</div></div></div></div>