Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT error parser doesnŽt understand wrapped messages
CDT error parser doesnŽt understand wrapped messages [message #165702] Fri, 10 March 2006 10:07 Go to next message
Eclipse UserFriend
Originally posted by: stather.external.onespin-solutions.com

I chenged from a managed make project to a standard make project using
make files of my companies.
Now the error messages from cgg are wrapped across several lines, and the
eclipse error parser misparses them, it only displays whatŽs in the first
line (is e.g. "error").
How can this be changed that the error parser handles this? Also, what
could be the cause for this wrapoping (command-line switches for example)?

thanks in advance for your help

Michael Stather
Re: CDT error parser doesnŽt understand wrapped messages [message #165718 is a reply to message #165702] Fri, 10 March 2006 18:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sscout.gmpexpress.net

Michael Stather wrote:
> I chenged from a managed make project to a standard make project using
> make files of my companies.
> Now the error messages from cgg are wrapped across several lines, and
> the eclipse error parser misparses them, it only displays whatŽs in the
> first line (is e.g. "error").
> How can this be changed that the error parser handles this? Also, what
> could be the cause for this wrapoping (command-line switches for example)?
>
> thanks in advance for your help
>
> Michael Stather
>

Michael, I've never heard of "cgg" before, but the CDT only comes with
two error parsers by default - one for the gcc toolchain, and one for
the Microsoft Visual C++ toolchain. If you are using a different
compiler/linker, or even an older toolchain, the built-in error parsers
probably can't handle the messages that come from that toolchain, which
means you will have to write your own.

Will someone more knowledgeable about the CDT plug-in system tell us the
extension point Michael needs? I never have found it.

Shawn
Re: CDT error parser doesnŽt understand wr apped messages [message #165769 is a reply to message #165718] Mon, 13 March 2006 03:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stather.external.onespin-solutions.com

Sorry I think I was a little tired when I wrote this, of course I meant
"gcc" (more exactly, g++)
Re: CDT error parser doesnŽt understand wrapped messages [message #165817 is a reply to message #165702] Tue, 14 March 2006 12:28 Go to previous messageGo to next message
Eclipse UserFriend
Michael Stather wrote:
> I chenged from a managed make project to a standard make project using
> make files of my companies.
> Now the error messages from cgg are wrapped across several lines, and
> the eclipse error parser misparses them, it only displays whatŽs in the
> first line (is e.g. "error").
> How can this be changed that the error parser handles this? Also, what
> could be the cause for this wrapoping (command-line switches for example)?
>
> thanks in advance for your help
>
> Michael Stather
>

If you're using gcc 3.x, you may want to use the -fmessage-length=0
option in your makefiles. This forces each message onto a single line.

Matthias
Re: CDT error parser doesnŽt understand wr apped messages [message #165866 is a reply to message #165817] Wed, 15 March 2006 06:29 Go to previous message
Eclipse UserFriend
Originally posted by: stather.external.onespin-solutions.com

OK that worked, thanks for the hint.
Could the CDT parser be improved in future versions so that it doesnŽt
care whether the error messages are wrapped?
This would be even better for all developers :)
Previous Topic:use Memory View programmatically
Next Topic:Question about Make Target pane
Goto Forum:
  


Current Time: Sun May 11 13:06:19 EDT 2025

Powered by FUDForum. Page generated in 0.03289 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top