From: Eric M. Ludlam <eric@si...> - 2007-06-19 02:38:05
>>> snija <snija0@...> seems to think that:
>Hi, how can semantic (in cedet 1.04) complete c++ member variables and
>function from stl and boost headers?
I've done some experiments here to try and understand. My original
answer was to use `semanticdb-create-ebrowse-database', but what I
found is that on linux, things like <string> is just full of #include
files, which, sadly, EBROWSE doesn't pull in for me, so that derailed
It is likely you can update the include path, like this:
(semantic-add-system-include "/usr/include/c++/3.2.2/" 'c++-mode)
I also found a bug in semanticdb-ebrowse.el miss-setting the search
throttle, so you will need this:
'(project unloaded system recursive))
Once you do that, the first time will cause lots of header files to
I still didn't get completion for std::string though, as string is a
basic_string, and basic string has a couple layers to it which the
analyzer can't quite get through yet. It's a good example though
which I'll look into.
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org