Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 254592

Summary: GCC error parser fails to identify file name
Product: [Tools] CDT Reporter: Csaba Ráduly <csaba_22>
Component: cdt-buildAssignee: cdt-build-inbox <cdt-build-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: yi.y.zhang
Version: 5.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Example project
none
Screenshot of generated markers
none
My screenshot
none
Incorrect markers and version information none

Description Csaba Ráduly CLA 2008-11-07 09:00:18 EST
Created attachment 117311 [details]
Example project

Build ID: M20080911-1700

Steps To Reproduce:
1. Import the attached project (it contains errors)
2. Build

Errors in sub2/Fooclass1.cc are not parsed correctly. The generated error markers are unusable (double-clicking has no effect).

More information:
Comment 1 Csaba Ráduly CLA 2008-11-07 09:01:37 EST
Created attachment 117312 [details]
Screenshot of generated markers
Comment 2 ZhangYi CLA 2008-12-26 03:17:01 EST
Created attachment 121251 [details]
My screenshot

Hi,

  I built you project, and found that the errors seemed to be parsed correctly now. And the generated error markers were usable (double-clicking was effective) as well. Could you try it again? I attached my screen shot.


Thanks,
Yi
Comment 3 ZhangYi CLA 2008-12-26 03:18:56 EST
Moreover, I used the latest code from HEAD.
Comment 4 Andrew Gvozdev CLA 2008-12-26 16:20:39 EST
Looks like the same problem as bug 256259 which has been fixed not so long time ago.
Comment 5 Csaba Ráduly CLA 2008-12-29 04:14:02 EST
Seems to be fixed in CDT 5.0.2.200811280802

*** This bug has been marked as a duplicate of bug 256259 ***
Comment 6 Csaba Ráduly CLA 2009-03-20 05:28:49 EDT
Created attachment 129428 [details]
Incorrect markers and version information
Comment 7 Csaba Ráduly CLA 2009-03-20 05:30:11 EDT
Still happening with Eclipse 3.4.2 M20090211-1700 and CDT 5.0.2.200902130801
Comment 8 Andrew Gvozdev CLA 2009-03-20 06:54:14 EDT
Can you try the latest CDT 6.0 M6? http://download.eclipse.org/tools/cdt/builds/6.0.0/index.html
Comment 9 Andrew Gvozdev CLA 2009-07-11 11:34:08 EDT
The algorithm of searching files was significantly reworked in CDT 6.0. Currently there are no plans to apply that in 5.0 as it depends on some features missing in 5.0 line.
Please reopen if it is still a problem in CDT 6.0.