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

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 3 03:42:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49152

--- Comment #38 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-03 03:41:00 UTC ---
(In reply to comment #37)
> 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.

What I was trying to say, I think it would confuse an user who did a make and
saw an error and then did another make but this time piped to tee or to an
output file.  And looked at the output file and it was different than what was
on the tty before.

This is why I think we should not worry about the IDEs and just have them
handle those cases just as we handle the case of emitting more debugging info
and such.



More information about the Gcc-bugs mailing list