help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: semantic database


From: Hoyt Koepke
Subject: Re: semantic database
Date: Fri, 18 Dec 2009 20:09:44 -0800

> vector<int> v1 ;
> v1.
>
> then semantic will show me some accessable member and member functions in a
> pop-up window
> It works for my user defined type but I can't get information of STL
> Can any one tell me what should I do??
>
> I've checked this page
> http://xtalk.msk.su/~ott/en/writings/emacs-devenv/EmacsCedet.html
> try several ways, but it still doesn't work
> Can any one help me ??

If you type "M-x semantic-analyze-debug-assist" where it should show
the member functions, it will list the include files that it's parsed
for type definitions and the directories where it's searched for them.
 My guess is that <vector> is not loaded.

If it isn't, make sure the directories where it looks are all valid,
and it's in one of those.

In particular, I'm suspicious about the capital "C" in your
"/usr/include/C++/4.2"; in *nix the case matters, and I think it's
/usr/include/c++/<version> on most linux machines (it is on mine).

Hope that helps,
-- Hoyt

++++++++++++++++++++++++++++++++++++++++++++++++
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoytak@gmail.com
++++++++++++++++++++++++++++++++++++++++++




reply via email to

[Prev in Thread] Current Thread [Next in Thread]