Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Bug related to ptp indexer for remote projects

Hi Otavio,

As far as I know the remote indexer behaves the same as the local indexer, so it should find and index include files in the remote project. If it's not then it sounds like a bug.

Regards,
Greg

On Aug 2, 2012, at 7:15 PM, Otávio Pontes wrote:

> Hi Folks,
> I am working in a plugin that uses CDT Code Analysis to check for migration problems in a c/c++ source code and we are facing some problems when running it with rdt remote projects.
> We realized that types defined in .h files were not recognized and were not correct in the cdt AST. If we copy-and-paste the .h code to the .c code, replacing the #include directive, everything works just fine, but if we try to run our plugin in a project with .c files and .h files, we fail. Note that this problem occurs even with .h inside the project, not only with external .h files.
> 
> We found out that the same error occurs in local projects when we disable the CDT Indexer. So we realized that it may be a problem in the ptp indexer. We are using the 'RDT Remote Fast Indexer' to index files in remote projects and we are thinking that the issue we are facing is related to this indexer.
> - Do the RDT indexer index .h files inside the the project directory? And if not, Is there a way to configure the indexer to index .h files?
> 
> Thanks,
> Otavio
> 
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev



Back to the top