This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]