Community
Participate
Working Groups
Build Identifier: 201106081058 Test case: /* header.h */ struct x { int a; }; typedef struct x x; /* impl.c */ #include "header.h" int main() { x i; } Codan reports "Type 'x' could not be resolved" Reproducible: Always Steps to Reproduce: 1. analyse use case 2. watch the result
Works for me. Try typing in impl.c so that codan re-runs. Maybe codan ran before the indexer was done with header.h?
(In reply to comment #1) > Works for me. Try typing in impl.c so that codan re-runs. Maybe codan ran > before the indexer was done with header.h? You are right, it seems to be an indexing problem. I managed the reindex on the example, but my large code base is still suffering from this issue.
There have been many improvements to the indexer since the time this bug was reported. Šimon, do you still have this problem?
It turned out to be an issue with the indexer. -- Simon Toth
(In reply to Šimon Tóth from comment #4) > It turned out to be an issue with the indexer. If you're no longer seeing this issue, could you please close the bug? Thanks!
Problem was in a different component.