How to get indexer parsing subdirectory of include path properly ? [message #162174] |
Sun, 22 January 2006 14:47  |
Eclipse User |
|
|
|
Originally posted by: christof.frey.freesurf.ch
Hi,
first of all thanks the Eclipse team for this great product! (I use it
as cross-dev. environment)
Have read all the issues about the indexer in this group but did not
find a hint to my problem (?)
It appears that the indexer does not handle subdirectories in include
paths properly:
#include <c++/Motor.H> // indexer does not handle this directory
#include <c++/Sound.H> // not handled either
#include <conio.h> // works well
#include <unistd.h> // works well either
Above are system directories. Motor.H and Sound.H can be found
One level higher up than conio.h and unistd.h.
The subdirectory has header files only (inline C++ classes).
The parent has standard c header files.
What works:
Project builds and executable runs
browsing to standard c function declaration in libraries works
Problem:
browsing to C++ class declarations does NOT work
I am using:
- Eclipse 3.2.0
- CDT 3.0.1
- gcc (2.95.2) for Hitachi H8
- Standard Make
A work around is to copy the the folder with the c++ headers to the
project directory,
then the indexer finds all the reverences.
Have tried with both GCC per project / per file discovery with the same
effect. Also
adding all the include paths manually did not help.
Any help much appreciated
Chris
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04064 seconds