<div dir="ltr"><div class="gmail_quote">On Mon, Mar 30, 2015 at 6:27 PM Perry Hung <<a href="mailto:perry@leaflabs.com">perry@leaflabs.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Hans,<div><br></div><div>I used the official Ubuntu binary:</div><div><a href="http://llvm.org/releases/3.6.0/clang+llvm-3.6.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz" target="_blank">http://llvm.org/releases/3.6.0/clang+llvm-3.6.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz</a><br></div><div><br></div><div>Seems to me that it should be an optional dependency. If the target system has tinfo or ncurses, it should use it, otherwise fallback to no color.</div></div></blockquote><div><br></div><div>There is no reasonable way to implement that IMO. It would require using dlopen to test for the library, open up a world of security and performance concerns, etc.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 30, 2015 at 6:02 PM, Hans Wennborg <span dir="ltr"><<a href="mailto:hans@chromium.org" target="_blank">hans@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Perry,<br>
<span><br>
On Mon, Mar 30, 2015 at 11:16 AM, Perry Hung <<a href="mailto:perry@leaflabs.com" target="_blank">perry@leaflabs.com</a>> wrote:<br>
</span><span>> I'm using the official 3.6 release binaries for x64 Linux. When compiling<br>
> with warnings, I don't see any color diagnostics. Explicitly enabling<br>
> -fcolor-diagnostics works fine. I have TERM set to xterm-256color. Any idea<br>
> why?<br>
<br>
</span>Which of the release binaries are you using? 3.6 has x86_64 binaries<br>
for Ubuntu, OpenSuSE and Fedora, and they were built by difference<br>
people.<br>
<br>
>From your ldd dump, it seems the binary you're using was built without<br>
libtinfo, presumably because it wasn't installed on that machine and<br>
we don't require it for building.<br>
<span><font color="#888888"><br>
 - Hans<br>
</font></span></blockquote></div><br></div>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</blockquote></div></div>