semantic-ia-fast-jump 'switches' from gcc headers to local headers

Xaver Gerster <[email protected]> Fri, 24 Oct 2014 11:45:40 +0200
Newsgroups gmane.emacs.semantic
Message-ID <[email protected]>
Hi,

I'm sure that the subject line of my post does not properly describe my 
actual problem, which is which related to looking up info from globally 
installed headers.

I have some code set up in a cedet automake project which uses STL vectors.

Now, for 'some time' after a fresh start of emacs/ecb/project/etc., I 
can use semantic-ia-fast-jump (C-c j) on, say, the tag 'vector' in a 
code line of the project like this

vector<double> v;

Here C-c j will transfer me to /usr/include/c++/4.8/bits/stl_vector.h.

This is kind-of what I expect.

However, after working on the project for some time, opening files, 
compiling things, etc., suddenly and out of the blue,
using semantic-ia-fast-jump (C-c j) on the tag 'vector' for yet another 
time, will not jump me into /usr/include/c++/4.8/bits/stl_vector.h 
anymore, instead it will take me into the local include files of my 
project, which (obviously) contain a line

#include <vector>

It is to that point where C-c j will jump.
Hereafter it seems as if semantic has forgotten about 
/usr/include/c++/4.8/bits/stl_vector.h and any further C-c j will only 
jump into my local include files.

Does anyone know what is going on here and how I can fix this?

Thx.
Xaver

------------------------------------------------------------------------------