Community
Participate
Working Groups
Indexer fail on pointer on object array. For example: string tt[1]; tt[0].clear(); tt->clear(); The second and the third line have the same goal but third is not resolved by the indexer.
While technically valid, that is pretty bad code...
This works for me. Please specify the exact version of CDT you are using. Why do you think that the indexer does not resolve the third line?
Version: Indigo Service Release 1 Build id: 20110916-0149 Eclipse shows: Method 'clear' could not be resolved
Have you succeeded to reproduce the same behavior?
(In reply to comment #4) > Have you succeeded to reproduce the same behavior? Yes, I can reproduce the problem with CDT 8.0.1. It works with the version on HEAD.