| Summary: | Code Analysis reports non existing problems. | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Ventsy <ventsyv> |
| Component: | cdt-build | Assignee: | cdt-build-inbox <cdt-build-inbox> |
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug |
| Version: | 8.1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Ventsy
Actually, opening a source file after a build (and re-indexing) would cause the code analysis errors to come back. After some investigating, I found out that Eclipse "forgot" the include paths (such as /usr/include etc). Deleting the project and importing it again using the "From existing code with make file" wizard did not fix the problem. I think the wizard should parse the make file and extract all -I -i paths and import them in the project. Manually adding the folders in the project and rebuilding the index still resulted in errors. Most likely the compiler inspection did not work. Try to configure it in the project properties under 'C/C++ Build - Discovery options'. |