Eclipse CDT complains about unresolved functions but still builds successfully

后端 未结 5 750
轮回少年
轮回少年 2021-01-18 07:26

The following C++ application compiles and runs successfully within Eclipse CDT but the IDE is still reporting an error stating:



        
5条回答
  •  半阙折子戏
    2021-01-18 07:46

    Ok, if /usr/include is listed correctly, then go to preferences -> c/c++ -> Editor -> Indexer -> select Indexer

    Sometimes change it from fast c/c++ indexer to the Full one resolves the problem.

    Hope it helps

提交回复
热议问题