Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367316 - Wrong interpretation of relative include search path when parsing in context
Summary: Wrong interpretation of relative include search path when parsing in context
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-indexer (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 8.1.0   Edit
Assignee: Markus Schorn CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-21 08:24 EST by Markus Schorn CLA
Modified: 2012-02-23 11:33 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 Markus Schorn CLA 2011-12-21 08:24:08 EST
When a header file is parsed in the contexted of a source file, where the gap is filled with information from the index, then the relative directories on the include search path are interpreted as relative to the header file rather than the source file.
Comment 1 Markus Schorn CLA 2012-01-02 07:40:39 EST
Relative includes are now rooted at the directory of the context file.