jumping between declaration and definition is failing [message #1328430] |
Fri, 02 May 2014 17:45 |
vishal Mising name Messages: 4 Registered: October 2011 |
Junior Member |
|
|
I am using eclipse CDT on centos.
I have a bigger code base for which the problem is very much evident.
I am attaching a sample code, for which I am not able to jump between declaration and definition and vice versa.
Another problem is that the behaviour is not predictive and it keeps failing for one or the other declaration.
Let me list down the steps for which it is failing everytime:
1. I copied the test5.cc file under the source folder and opened it in the CEditor.
2. I copied the test5.h and test4.h under the source folder and opened it in the CEditor.
3. I copied the test4.cc , test3.h and test3.cc under the source folder and opened it in the CEditor.
Now I am able to jump from "dynamicRequestDecodePerFamily" definition in test3.cc to the declaration in test3.h but not the other way around.
Much more strange behaviour is that each time I edit the files and if any class is marked in error, then even if I correct the problem, the linkage between the declaration and definition will be broken. Due to which I can jump from definition to declaration by not the other way around .
Can someone please help me out .
Thanks,
Vishal
|
|
|
Powered by
FUDForum. Page generated in 0.02943 seconds