开发者

std::string not being resolved in Eclipse/CDT 8.0

开发者 https://www.devze.com 2023-04-04 03:41 出处:网络
Seemed to have worked fine in CDT 7.0 in Eclipse Helios, but since upgrading I\'m getting a l开发者_如何学JAVAot of unresolved symbols in my C++ projects, namely a lot of STL classes.I used to have th

Seemed to have worked fine in CDT 7.0 in Eclipse Helios, but since upgrading I'm getting a l开发者_如何学JAVAot of unresolved symbols in my C++ projects, namely a lot of STL classes.


I used to have the same problem with CDT 8, but then they got automatically resolved and now it all works perfectly. I think holding a cursor above the #includes and using directives tells eclipse to scan those namespaces and includes and to stop showing those errors.


There is an indexer option "Index source and header files opened in editor" and it seems to be deactivated by default. By activating it, I got rid of "all unresolved when opening a file" and "staying unresolved after building".

0

精彩评论

暂无评论...
验证码 换一张
取 消