[cedet-semantic] symbol parsing problem
Brought to you by:
zappo
From: Bogdan G. <bg...@gm...> - 2010-06-07 22:08:18
|
Hello everybody, I try to setup a cpp project as described by alex on the tutorial "A gentle introduction to CEDET". In my environment I stumbled across a case which I can't get passed. Let's say we have a simple project made of only 2 files: test.h and test.cpp (both in project's root directory) test.h contains the following: /// begin test.h #ifdef PROTO void func1(); void func2(); #endif /// end test.h test.cpp contains the following: /// begin test.cpp #define PROTO #include test.h int main(){ func1(); func2(); return 0; } /// end test.cpp Trying to find any of symbols func1 or func2 (semantic-ia-fast-jump) does not succeed unless we add "#define PROTO" at the beginning of the test.h header file. This may be no real solution for system include files which use this way of defining symbols. Can anything be done for fixing this problem without changing the header file? Some predefined set of macros that may be defined per project maybe? Thanks in advance for your help! Bogdan Graur |