Indexer+External Include Path+Inherited methods no available [message #168781] |
Wed, 26 April 2006 22:57  |
Eclipse User |
|
|
|
Originally posted by: johnny_joe33.hotmail.com
Hello eveyone,
using eclipse 3.1.2 and CDT 3.0.2 under linux. I am having a problem
using the indexer. Here is the scenario:
-) I create a standard make C++ project, making sure full indexer is on.
-) After the project skelet is created I checked the project properties
and re-check that full indexer is on. Then I add external .h files like
this :'Project'+'Properties'+'C/C++ Include Paths & Symbols'+'Add External
Include Path'.
-) Then I create a new .cxx file in the newly created project. I add
references to the external classes using '#include'.
-) Finally I create a pointer of a class defined in those external .h
files. This class inherits from other classes.
When I type '->'+'CTRL-ESPACE' I do not get the base classes methods,
only those defined for the 'child' class.
I have tried the following:
1.) I have added a new linked folder to the project, the indexer
parses this new link folder, but no the base classes methods are not still
available.
2.) I have included the .h for all the base classes, but the methods
are not available.
3.) I have casted the pointer to the base class, i.e. ((vtkKWTopLevel
*)win)->, and then I do get the methods for the casted base class, but I
loose the 'child' class methods :(
Any ideas anyone? Is this a bug?
Thanks a lot.
JCBA
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06252 seconds