[Bug c++/49152] Unhelpful diagnostic for iterator dereference
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 2 15:57:00 GMT 2012
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.
More information about the Gcc-bugs
mailing list