Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer indexes what it shouldn't(Where does it take paths from?)
Indexer indexes what it shouldn't [message #966874] Thu, 01 November 2012 09:55
Dmitry Dmitry is currently offline 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!
Previous Topic:Help! Indexer and auto-complete don't recognize some STL objects
Next Topic:juno (Eclipse 4.2) CDT (8.1) doesn't stop on pending breakpoints, but gdb does.
Goto Forum:
  


Current Time: Fri Oct 31 07:12:00 GMT 2014

Powered by FUDForum. Page generated in 0.01599 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software