Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330941 - Xlc error parser can't figure out that file name is in quotes
Summary: Xlc error parser can't figure out that file name is in quotes
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Andrew Gvozdev CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 12:04 EST by Andrew Gvozdev CLA
Modified: 2010-11-23 12:23 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).