Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » cdt.parser for GNU GCC error(Double click fails to jump to source file and line of error)
cdt.parser for GNU GCC error [message #1821633] Mon, 17 February 2020 22:43 Go to next message
J.R. Heisey is currently offline J.R. HeiseyFriend
Messages: 10
Registered: July 2013
Junior Member
Runs on CentOS 7 Linux using MobaXterm on Windows 10 for remote access.

* This had been working. I don't know what is causing it to malfunction.
* I've recovered a previous version of my project's .cproject file.
* I've been reviewing the various settings in ~/.eclipse in an attempt to remove and regenerate configuration files.
* I am about to rename the entire ~/.eclipse folder.
* Where else can a configuration setting cause such an error?
* I suggest as an alternative to double clicking having a menu item in the drop down menu which performs the same activity.
* My next course of action would be to review the code. The last time I tried that it was impossible to follow the code logic due to all the indirection resulting from calls to the Java interfaces.

For someone who is not familiar with the CDT code I would really need to have a Java debugging environment setup so you can look at the concrete object types. Getting that working seems a lot of effort.
Re: cdt.parser for GNU GCC error [message #1821643 is a reply to message #1821633] Tue, 18 February 2020 06:33 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Quote:
* This had been working. I don't know what is causing it to malfunction.
* Where else can a configuration setting cause such an error?


If you are asking for help, stating what the malfunction is would be a great aid to understanding your issue.

As it is, you essentially posted "I've got code that doesn't work. Why?"
The short answer is: could be anything.
It's not at all clear what your issue is and how it involves GCC.

Note: I'm not saying you will find an answer here but giving more information will increase your chances.

Re: cdt.parser for GNU GCC error [message #1821689 is a reply to message #1821643] Tue, 18 February 2020 17:28 Go to previous messageGo to next message
J.R. Heisey is currently offline J.R. HeiseyFriend
Messages: 10
Registered: July 2013
Junior Member
It is in the subject. In the compiler output console view, double clicking the GCC error will will not open the file and place the cursor on the line which generated the error.
Re: cdt.parser for GNU GCC error [message #1821693 is a reply to message #1821689] Tue, 18 February 2020 17:39 Go to previous messageGo to next message
J.R. Heisey is currently offline J.R. HeiseyFriend
Messages: 10
Registered: July 2013
Junior Member
Actually I typed in into the "Topic Description" field.

When I renamed the .metadata folder that corrected that issue but I also lost other configuration settings.
I am hoping someone can tell me what specific sub-folder in .metadata/.plugins I can delete instead of the more brute force approach.
I am trying to identify the component which implements this feature so I can reset its specific persistent settings.

I've searched the folder tree for "parser, gnu, gcc, compiler, cpp".
Or is this related to the indexer?
Re: cdt.parser for GNU GCC error [message #1821778 is a reply to message #1821693] Thu, 20 February 2020 05:23 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
well, that's a little clearer.
Sounds like you clobbered the error parser.
You can reset it in
Project --> Properties --> C/C++ Build --> Settings --> Error Parsers tab
as discussed here:
https://help.eclipse.org/2019-12/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Ftasks%2Fcdt_t_proj_error_parser.htm

They can only be changed in workspace settings.
Try selecting the c/g++ error parser; edit one of the entries then push Reset
You may have to reselect the parser before Reset becomes enabled.


Previous Topic:How to import a custom library into the Arduino project?
Next Topic:When Debug tabbed view is selected, this results in Build Project menu disabled
Goto Forum:
  


Current Time: Thu Sep 19 07:04:25 GMT 2024

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

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

Back to the top