【问题解决】当导入工程后,编译项目无错误,但是出现semantic error:
The simplest solution is to reset the indexer:
First:
Window / Preferences / C/C++ / Indexer.
uncheck Enable indexer -OK
rebuild all, may show lots of errors
check Enable indexer -OK
rebuild all
Second:Project/ C/C++ Index / Rebuild
This error can be produced by forced closing of eclipse by power failure.