[Bug c++/49152] Unhelpful diagnostic for iterator dereference

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 2 22:06:00 GMT 2012


--- Comment #37 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-02 22:05:13 UTC ---
(In reply to comment #36)
> I know some of us use tee and that disables termainal detection code usually.

Right, so then you don't get the caret by default.  You can still enable it
with a flag if you want.

Actually, it's not clear to me that the caret line would be likely to cause
trouble for IDEs in any case; they already have to deal with output that isn't
a specific error.  Maybe we should just turn it on by default in all cases, and
possibly backtrack to only on a tty if it causes problems.

More information about the Gcc-bugs mailing list