Re: Support for color diagnostics

Eitan Adler <[email protected]>
Newsgroups gmane.comp.compilers.ccache
Message-ID <CAF6rxgmHifkrfbRRMvRpi5=+4MOHZt-5RiJP+7TCruroVhswgg@mail.gmail.com>
On Fri, Nov 29, 2013 at 6:39 AM, Lubos Lunak <[email protected]> wrote:
> 100% reliable anyway), the code merely guesses from the binary name. If the
> compiler used will be e.g. the 'cc' symlink, there'll be no colors. No big
> deal.

Most users should be calling their compiler via the name 'cc' and not
'gcc' or 'clang'. IMHO this use case is the most important.

Why can't you ask the compiler via "cc --version" or the like?

-- 
Eitan Adler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.