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 <tomga@...>
> Andrea Monaco <monacoandrea94@...> 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()
> 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.
> Tomasz Gajewski