GCC output parsing

Jérémie Dubois-Lacoste jeremie.dl at gmail.com
Wed Mar 24 19:26:11 UTC 2010


I am a user of Kdevelop since 4 years, in love with this IDE.
So this message could not start without a huge thanks to all

Likely, I will submit a proposal for the google summer of code 
this next days. My proposal should not concern Kdevelop
but the GNU compiler GCC. I am interested in implementing an option
to allow XML output instead of natural language to print any kind
of warning\errors.
There is an existing thread that reports a bug in gcc and speaks 
about that:

The main idea of printing
XML output would be to make the parsing by an IDE easier.
One advantage of using a machine readable format like XML
would be also to allow gcc to output more information.
As mentioned in the thread, this could be much more interesting
if driven together with some requirement from IDE developers.

So, before asking which kind of information could be usefull
for an IDE, and how it should be structured, the main question is: 
Does any of you think it could be of any interest from
the IDE point of view (that is, the user using gcc through an IDE...)?
And of course, in the particular case of Kdevelop.



More information about the KDevelop-devel mailing list