[Bug other/19165] (Natural) language independent error / warning classification
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 8 16:33:00 GMT 2009
------- Comment #11 from joseph at codesourcery dot com 2009-08-08 16:33 -------
Subject: Re: (Natural) language independent error / warning
classification
On Sat, 8 Aug 2009, manu at gcc dot gnu dot org wrote:
> I am not planning to work on this further. This patch shows that it can be
> done, but I don't know if there is any interest on this.
The principle makes sense (obviously the prototype patch would need
further work for actual inclusion, e.g. escaping of < and > signs for the
XML output), but I think in practice it's only useful if driven by
cooperation from IDE people who will help establish what the XML should
look like and commit to making an IDE use the XML output in future by
default when using a GCC version that supports it.
I imagine that the XML should have some way of marking continuation
messages as such, should include the option (as from
-fdiagnostics-show-option) in some structured way, and probably should
give locations and inclusion context in an XML structured way as well
rather than as plain text - but discussion would be needed with IDE people
on what information GCC can give and how an IDE could use it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19165
More information about the Gcc-bugs
mailing list