Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 103534 - Indexer doesn't find "Add Include Path from Workspace" files
Summary: Indexer doesn't find "Add Include Path from Workspace" files
Status: RESOLVED WORKSFORME
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Victor Lenet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-12 15:00 EDT by dharty CLA
Modified: 2005-07-15 15:41 EDT (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 dharty CLA 2005-07-12 15:00:47 EDT
This may be related to bug 72589.

In CDT3.0-rc1 (EC3.1), selecting an "include path from workspace" sets the path
in the project properties -> C++ Include Paths..., but the indexer cannot find
the files.  

Setting the same path via "Add External Include Path" works for non-system
includes, i.e. files not surrounded by <>.  A separate bug report is being filed
regarding system files.

Eg given the following project hierarchy:

+-c:\test\.project
   +-src        // source folder
     +-main.c   // contains the line, #include "other.h"
   +-include    // header folder
     +-other.h  // the file we are looking for

When adding "include" as an include path from workspace, the indexer can't find
other.h and reports an error.  Adding the "include" directory as an external
path (c:\test\include) allows the indexer to find the file.
Comment 1 Victor Lenet CLA 2005-07-15 15:41:59 EDT
Works fine in 3.0 RC2.