[Bug c++/80920] warnings get position wrong - very confusing
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 18 10:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80920
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The caret location is just using the same info as the diagnostic message:
b.C:7:12:...
Should we suppress that too? So if you have a file with thousands of lines in,
rather than give a location that is in the right part of the right constructor,
it should not tell you where in the file it occurred? That would not be an
improvement.
And if we're showing that location anyway, the caret doesn't make it any worse.
More information about the Gcc-bugs
mailing list