<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Oct 21, 2010, at 5:55 AM, Lang Hames wrote:</div><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;">I agree! :-) It would be nice to have an option for it, like -wsystem.<br></blockquote></div></blockquote><div><br></div>We actually suppress warnings in system headers by default.</div><div><br><blockquote type="cite"><div class="gmail_quote">
<div>One of my colleagues pointed this issue out to me a while back too. I took a quick look but wasn't able to figure out why the warning isn't being suppressed (I'm not particularly familiar with clang). I opened <a href="http://llvm.org/bugs/show_bug.cgi?id=8129">http://llvm.org/bugs/show_bug.cgi?id=8129</a> to track the issue.</div></div></blockquote><div><br></div><div>It's not being suppressed because the diagnostic is triggering at an invalid location.  That's why the warning doesn't have line/column information or a caret display.  We're probably just not preserving information correctly into template instantiation in this case.</div><div><br></div><div>John.</div></div></body></html>