Hi all,
I have met a problem regarding the eclipse C++ indexer, after upgrading to 5.0b2 recently.
Everything works fine, except that the nedtool generated subclass from cPacket seems unknown by the indexer, so that the IDE can't pop out anything when hang the mouse over the those member functions inherited from cPacket, and the bottom-left corner in the IDE window shows red warning, "Could not find symbol 'omnetpp' in index", or "Could not find symbol 'cPacket' in index".
The generated header file looks like " class MyPacket : public ::omnetpp::cPacket ".
And the warning appears when trying to find the declaration of omnetpp or cPacket, BUT the project can be correctly compiled and runs without any problems.
I manually removed name scope part "::omnetpp::", then the indexer can correctly jump into cpacket.h, when clicking on cPacket or any places that a member function is invoked by a object.
I have followed the change log to add "using namespace omnetpp" into all the header files in the project.
Still, I can not understand the reason of this indexing problem.
It looks like some bug to me.
Can anyone explain it please? Or the bug can be added to "TO FIX" list in next patch, if I happened to be right.
Sorry, if I was too wordy...
Thank you guys in advance,
Xin