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

Bug 330941

Summary: Xlc error parser can't figure out that file name is in quotes
Product: [Tools] CDT Reporter: Andrew Gvozdev <angvoz.dev>
Component: cdt-buildAssignee: Andrew Gvozdev <angvoz.dev>
Status: RESOLVED FIXED QA Contact: Andrew Gvozdev <angvoz.dev>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: 8.0   
Hardware: All   
OS: All   
Whiteboard:

Description Andrew Gvozdev CLA 2010-11-23 12:04:09 EST
Actually I got a problem when Xlc error parser erroneously names variable redeclaration as macro redefinition

"file.cpp", line 42.51: 1540-0400 (S) "variable" has a conflicting declaration.
"file.cpp", line 29.45: 1540-0425 (I) "variable" is defined on line 29 of "file.cpp".

Getting description of problem marker as: [Macro name variable originally defined in file "file.cpp"]. But a bigger problem is that it treats the quotes as a part of file name so navigation does not work. BTW if macro redeclaration is in the same *.cpp file xlC supplies quotes too so it is not working for macros either.
Comment 1 Andrew Gvozdev CLA 2010-11-23 12:10:16 EST
Fixed on HEAD (8.0).