[cfe-dev] Disable color errors globally?

Don Hinton via cfe-dev cfe-dev at lists.llvm.org
Tue Jun 18 09:29:11 PDT 2019


Haven't investigated at all, but why not just set your terminal to not
display colors?, e.g., TERM=xterm, or something like that?

On Tue, Jun 18, 2019 at 2:08 AM Ronald F. Guilmette via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Is there some way to pass options to clang "globally" and
> without  having to get down and manually edit an entire
> set of Makefiles?
>
> I'm particularly eager to do this, if possible, for the
> following option: -fno-color-diagnostics
>
> My rationale, is that when/if I am sending some developer a
> typescript log of an entire (failed) build process, whatever
> he/she happens to end up viewing that "plain text" file with
> may or may not display the color-changing escape sequences
> as actual color changes, rather than unreadable gibberish.
>
> Has anyone ever actually experienced such a problem/issue?
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190618/fdeb0544/attachment.html>


More information about the cfe-dev mailing list