Indexer indexes what it shouldn't [message #966874] |
Thu, 01 November 2012 09:55 |
Dmitry Dmitry Messages: 2 Registered: November 2012 |
Junior Member |
|
|
I've got a project configured in Eclipse CDT.
I'm having folders "src" and "testing" in it's root.
In "Paths and symbols" I've got only "src/include" set.
I'm editing a function in src/device/bender/gender.c file.
This function uses a variable
prof_type Farnswort;
where prof_type is a structure, as it is defined in src/include/personalities.h
But additionally this struct is described in testing/autotest/include/personalities.h, where it has incomplete list of fields.
Why the hell autocompletion in Eclipse uses the testing/ version of personalities.h?
It doesn't propose me the fields which exist in /src/include version, moreover - it underlines with red those fields if I type them in manually. In gender.c I include the header simply by
#include "personalities.h"
Does anyone have any idea on why is it happening? It gets frustrating!
|
|
|
Powered by
FUDForum. Page generated in 0.03007 seconds