Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse CDT Team Shared Index is not imported correctly when a project is imported(This has to do with the Team Shared Index. The index is not imported when the project is imported to a workspace.)
Eclipse CDT Team Shared Index is not imported correctly when a project is imported [message #1712846] Wed, 28 October 2015 17:29
Farshad Tajalli is currently offline Farshad TajalliFriend
Messages: 2
Registered: October 2015
Junior Member
Hi All,

I export the index of a C/C++ project into .settings/cdt-index.zip. When I import that project later, the index does not import properly. From the debug traces, I can tell that the shared index is imported with no problem, however, index is not loaded into the editor.

CDT Version: 8.6.0.201502131403

Steps To Reproduce:
1. Create a project
2. Build the index
3. Export the team-shared index to: .settings/cdt-index.zip
4. Remove the project from the Workspace
4. Re-Import the project to the Workspace


Here is the Debugging information:
Indexer: Removing project AttachProcessGDBTest; delete=true
Indexer: Adding new project AttachProcessGDBTest
Indexer: Setup is postponed: AttachProcessGDBTest
Indexer: Creation for project AttachProcessGDBTest
Indexer: PDOMImporter start
Indexer: PDOMImporter completed, ok=true
Indexer: Imported shared index for project AttachProcessGDBTest
Indexer: start PDOMUpdateTask
C/C++ Indexer: Project 'AttachProcessGDBTest' (0 sources, 0 headers)
Options: indexer='PDOMFastIndexer', parseAllFiles=true, unusedHeaders=useCPP, skipReferences=false, skipImplicitReferences=false, skipTypeReferences=false, skipMacroReferences=false.
Database: 475136 bytes
Timings: 7 total, 0 parser, 0 resolution, 0 index update.
Errors: 0 internal, 0 include, 0 scanner, 0 syntax errors.
Names: 0 declarations, 0 references, 0(0.00%) unresolved.
Cache[45MB]: 87 hits, 1(1.14%) misses.
Indexer: completed PDOMUpdateTask[8ms]

Here is the error that I get, when I try to click on a symbol:

Description Resource Path Location Type
Function 'printf' could not be resolved AttachProcessGDBTest.cpp /AttachProcessGDBTest line 27 Semantic Error

[Updated on: Wed, 28 October 2015 18:01]

Report message to a moderator

Previous Topic:can't resolve typedef enum symbol
Next Topic:C++11 in Eclipse Mars.1
Goto Forum:
  


Current Time: Thu Sep 26 04:34:28 GMT 2024

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

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

Back to the top