[cfe-dev] -Wmismatched-tags in MacOSX's valarray

John McCall rjmccall at apple.com
Thu Oct 21 10:35:30 PDT 2010


On Oct 21, 2010, at 5:55 AM, Lang Hames wrote:
> I agree! :-) It would be nice to have an option for it, like -wsystem.

We actually suppress warnings in system headers by default.

> 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 http://llvm.org/bugs/show_bug.cgi?id=8129 to track the issue.

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.

John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101021/231f092d/attachment.html>


More information about the cfe-dev mailing list