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()).