Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333054

Summary: Code assist misses large number of symbols
Product: [Tools] CDT Reporter: Nathaniel McCallum <nathaniel>
Component: cdt-indexerAssignee: Project Inbox <cdt-indexer-inbox>
Status: RESOLVED INVALID QA Contact: Markus Schorn <mschorn.eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug, nathaniel, yevshif, zeratul976
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Nathaniel McCallum CLA 2010-12-21 22:52:50 EST
Build Identifier: M20100909-0800

So I have one project where I include mongodb's headers.  Code assist fails to help with any of the symbols.  If I create another project with the exact same configuration and include the header, code assist works fine.  I've seen this problem with other headers as well, like OpenSSL, so it is not just related to a single header.  Again, including the headers in a different project works fine.  How can I go about debugging this?

Reproducible: Sometimes
Comment 1 Nathaniel McCallum CLA 2010-12-21 22:54:18 EST
I should mention that this is not an include path issue as all the headers are found by #include directive auto-completion (and in particular, they are all offset from /usr/include).
Comment 2 Nathan Ridge CLA 2014-05-01 23:22:02 EDT
(In reply to Nathaniel McCallum from comment #0)
> How can I go about debugging this?

We would need more information about your project configuration. Is it a Makefile project? Does your build include source files that include the header files in question? If not, is the "Index source files not included in the build" preference enabled in Preferences -> C/C++ -> Indexer?
Comment 3 Nathan Ridge CLA 2017-01-08 13:38:17 EST
Feel free to reopen after providing the information requested in comment 2.