| Summary: | Symbol resolution has stopped working between Juno M4/M5 | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Michael Woski <woskimi> |
| Component: | cdt-codan | Assignee: | CDT Codan Inbox <cdt-codan-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | Elena Laskavaia <elaskavaia.cdt> |
| Severity: | major | ||
| Priority: | P3 | CC: | cdtdoug, yevshif, zeratul976 |
| Version: | 8.1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Michael Woski
another thing that I've discovered is that error markers are getting refreshed only after changing to another EditorPart and returning back to the editor in question. All in all I must admit I find the indexer a beast that has always given me headaches :-( Did you try reindexing? Your report is a bit vague to work with. If you can post reproducible example that would be useful. This could be bug 368045 or something different. first of all, I switched back to a recent 8.0.0 maintenance version, which solved the issue for me. So there is definitely something wrong in the last milestone build.
Maybe I try to explain again:
Project A:
* on the Include-Path: some cross-libc, /include(exported)
* mytypes.h includes (stdint.h), uses uint8_t, declares typedef enum {TEST1, TEST2} x_t
Project B:
* reference to Project A in project settings -> /include from Project A appears in the include path
* myfile1.c includes mytypes.h
-> everytime I use x_t I get an error about "symbol TEST1 can't be resolved"
* myfile2.c includes mytypes.h -> does not use any of the typedefs in mytypes.h but uses unit8_t
-> now I get an error about uint8_t not being defined
The compiler, on the other hand, runs smoothly and does not complain about any of the errors mentioned above.
is that clearer now?
Do you still experience these issues with CDT 8.2 (Kepler)? (In reply to comment #4) > Do you still experience these issues with CDT 8.2 (Kepler)? no, the problem seems to have vanished. closing as it seems to resolve itself |