<br><br><div class="gmail_quote">On Wed, Aug 24, 2011 at 10:25 AM, Matthieu Monrocq <span dir="ltr"><<a href="mailto:matthieu.monrocq@gmail.com">matthieu.monrocq@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div class="h5"><div class="gmail_quote">2011/8/24 Tanya Lattner <span dir="ltr"><<a href="mailto:lattner@apple.com" target="_blank">lattner@apple.com</a>></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div><div>On Aug 24, 2011, at 8:18 AM, David Blaikie wrote:</div><br><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">

<div class="gmail_quote"><div>Which could explain why my colored clang diagnostic change never worked for her, if clang didn't have colored diagnostic support back in 2.7 (I don't know which revision that was - could someone confirm whether that's true? I'll poke around in ViewVC to see if I can make sense of it, though)</div>


</div></blockquote><div><br></div><div>Yep. That seems to explain it - clang didn't respect forcibly turning colored diagnostics on in the absence of terminal colors until relatively recently: <a href="https://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?revision=114638&view=markup" target="_blank">https://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?revision=114638&view=markup</a>  </div>


</div>
</blockquote></div><br></div><div>Yes, this is the problem. I had a symlink (used by the script) to the clang release that I apparently didn't update. </div></div></blockquote></div></div></div></blockquote><div><br>
</div><div>Thanks - looks great. (side note to anyone who's interested: copy/pasting from the website in IE & FF doesn't keep the coloring, unfortunately (I believe it's because it's in CSS & these browsers don't bother to go & gather the CSS & inline it into the copied snippet) - but Chrome does the right thing. So if you want to put colored output in webpages, emails, etc - copy/paste from the demo while using Chrome!)</div>
<div> </div><div>Thanks for the help, Tanya.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I confirm it is now working correctly (as much as it can work in C++03).<br>
</blockquote><div><br></div><div>I'll see if I can send out a CR to add C++11 support to the website tonight - though it'll require deploying libc++ to the demo server for any library usage, of course.</div><div><br>
</div><div>- David </div></div>