Eclipse CDT complains about unresolved functions but still builds successfully

后端 未结 5 697
轮回少年
轮回少年 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:48

    I had the same problem with my Juno Release, Build id: 20120510-1218 on Fedora 14. To solve the index problem: Navigate to preferences -> c/c++ -> Editor -> Indexer -> uncheck "Allow heuristic resolution of includes"

    -All the best

提交回复
热议问题