Re: [CEDET-devel] semantic does not find fopen and other declarations
Brought to you by:
zappo
From: Andrea M. <mon...@gm...> - 2012-12-09 14:21:30
|
Good news, Tomasz! Just compiled and loaded the standalone version of cedet 1.1, removed semanticdb directory, and ... the matches count for "f" dropped to 23, but fopen is now in the list! (Who knows what was really going on, though!) Thanks for your help! 2012/12/9 Tomasz Gajewski <to...@wp...> > Andrea Monaco <mon...@gm...> writes: > > > When I type 'f' in a C source file, my emacs with semantic installed > > and working will show 25 completion matches, for functions like > > fclose, fread, and so on (only stdio.h included)... but not fopen! > > Why? Plus, same problem with opendir and readdir, with sys/types.h and > > dirent.h included. > > Hi Andrea > > I have just tested this on: > > #include <stdio.h> > #include <sys/types.h> > #include <dirent.h> > > int main() > { > f > } > > and it worked fine. So it has to be something specific to your > setup. You can try to delete all semantic cache files and open header > file found by semantic (visit this include on include directive) and > check if there is no problem with parsing near fopen declaration. > > I'm using latest cedet from bzr. If you are using some earlier version > it may be some already fixed problem. > > I'm just starting experimenting with ceded so probably I won't be able > to help more. > > Regards > Tomasz Gajewski > |