Eclipse错误提示: Symbol 'xxxx' could not be resolved

貌似是一个bug,解决办法

1、眼不见为净:在 Project->Properties->C/C++ General->Code Analysis 中把相关提示选项关闭

2、Project->Properties->C/C++ General->Indexer  选中 Enable project specific settings   Indexer Options  去掉 Index source files not included in the build  去掉index unused headers (部分错误有效)

猜你喜欢

转载自blog.csdn.net/wukery/article/details/79191430