GCC output parsing
George Syron
mr.syron at googlemail.com
Wed Mar 24 19:50:42 UTC 2010
2010/3/24 Jérémie Dubois-Lacoste <jeremie.dl at gmail.com>
> Hi,
>
> 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
> contributors...
>
> 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:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19165
>
> 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.
>
> Greatings,
>
> Jeremie
>
I'm not an IDE developer, but you're mentioning an idea I had a few days
ago. I think it would be great to do such an output, because there could be
some useful additional information added to the errors/warnings/etc. (i.e.
cross references to other lines of code that could have produced that
specific output). But I even thougt about a "generalized output"; that means
a proposal for standard code table of error codes, warning codes, etc. that
a compiler could produce so that an IDE can parse the compiler output of
_any_ compiler, so that an IDE would become more independent of a specific
compiler.
I personally think that this is more like a standard proposal than an IDE
question.
Kind regards, Syron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100324/c1eefe9a/attachment.html>
More information about the KDevelop-devel
mailing list