------- Comment #10 from manu at gcc dot gnu dot org  2009-08-08 16:05 -------
Created an attachment (id=18329)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18329&action=view)
XML diagnostics

A prototype of XML mode for diagnostics. The output looks like:

<diagnostic class="error"
location="/home/manuel/src/test/gcc/testsuite/gcc.dg/array-2.c:10:8">
inicializaci&#65533;n de un miembro de matriz flexible en un contexto anidado
</diagnostic>

<diagnostic class="error"
location="/home/manuel/src/test/gcc/testsuite/gcc.dg/array-2.c:10:8">
(cerca de la inicializaci&#65533;n de 'g2.f.x')
</diagnostic>

<diagnostic class="warning"
location="/home/manuel/src/test/gcc/testsuite/gcc.dg/array-2.c:13:8">
exceso de elementos en el inicializador de matriz
</diagnostic>

<diagnostic class="warning"
location="/home/manuel/src/test/gcc/testsuite/gcc.dg/array-2.c:13:8">
(cerca de la inicializaci&#65533;n de 'h1.x')
</diagnostic>

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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19165

Reply via email to