[cfe-dev] Disable color errors globally?

Ronald F. Guilmette via cfe-dev cfe-dev at lists.llvm.org
Tue Jun 18 02:08:00 PDT 2019


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?



More information about the cfe-dev mailing list