[Bug c++/47429] -Wfatal-errors hiding line number of offending caller
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 24 18:06:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47429
--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-01-24 17:55:29 UTC ---
It is common in the C/C++ front-ends that error() is followed by one or more
notes() providing context, suggestions or more information. (That is, "error:
within this context" should be a note).
We could follow your proposal but I think it will change the output quite a bit
and make it more difficult to understand. There are other even more complex
cases, like printing template candidates, where there are multiple lines of
notes (which currently are multiple calls to inform()).
More information about the Gcc-bugs
mailing list