http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49152
--- Comment #32 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-02 15:57:16 UTC --- (In reply to comment #31) > Well, that is reassuring. Then, will we still pretty-print expressions in > diagnostics once we have the caret? No, there should be no need to. > Is there a GCC way to detect that the output is a terminal? I don't know if there's a usual GCC way, but isatty seems like a good way.