How to restrict symbol resolution to included headers [message #1175133] |
Thu, 07 November 2013 14:46 |
David Jones Messages: 2 Registered: November 2013 |
Junior Member |
|
|
When I create a new source file, the code analyzer gives me resolution errors until I include the correct header. So I know CDT is smart enough to do this.
However, I also get many failed resolution errors because it's searching the entire index for symbols, rather than just the included headers. So if there are code members with the same name in multiple headers or source files, it won't be able to resolve which is it, even if those files aren't included in the current source file.
The code compiles just fine, as I would expect, but it would be nice to get code analysis working right. Is there a preference I can set that will fix this? I haven't been able to find one.
I'd like the code analyzer to only look at the current file, and any files included in it. Please don't suggest changing the names of code members. This is a large team project, and I can't go around changing the names of things just so it will work better with Eclipse.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03506 seconds