[cfe-dev] Colorized compiler errors
Shantonu Sen
ssen at apple.com
Sat Dec 22 12:20:25 PST 2007
Seems like it would have to be significantly more complex to know what
escape sequences to use (eg by looking at $TERM).
Also, IDEs would probably want to disable colors even if they run the
compiler hooked up to a pty, in favor of a builtin compiler neutral
colorizer.
Sent from my iPhone
On Dec 22, 2007, at 11:08 AM, Keith Bauer <onesadcookie at gmail.com>
wrote:
>> And how will you solve it in a portable manner?
>
> #if !defined(_WIN32) // ideally a more robust configure-based test
> if (isatty(STDOUT_FILENO))
>
> ;)
>
> -Keith
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list