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

Bug 367316

Summary: Wrong interpretation of relative include search path when parsing in context
Product: [Tools] CDT Reporter: Markus Schorn <mschorn.eclipse>
Component: cdt-indexerAssignee: Markus Schorn <mschorn.eclipse>
Status: RESOLVED FIXED QA Contact: Markus Schorn <mschorn.eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: 8.1.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.