<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 20, 2011, at 4:03 PM, David Blaikie wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">(1) Clang suppresses some warnings in macro expansions, e.g. -Wparentheses-equality.<br></blockquote>
<div><br></div><div>That seems rather not good. Do we do this deliberately (if so, why?), or is it just an accident/bug?</div><div><br></div><div>- David </div></div>
</blockquote></div><div><br></div>This is no accident.  I don't have an exhaustive list, but we do this in several cases.  The argument is that some warnings are almost always false positives when they result from macro expansions, but are very useful otherwise.  This of course leads to the problem that preprocessed files can have more warnings than the original source, but it does allow us to be more aggressive about putting various warnings under -Wall.</body></html>