Eclipse c++ Type could not be resolved error even though build is successful

前端 未结 5 2170
囚心锁ツ
囚心锁ツ 2020-12-13 19:08

I have mixed C++ / Java project in Eclipse. I\'ve setup a build.mk file and Eclipse builds project successfully when all files in editor are closed. When I open a .h or a .c

5条回答
  •  死守一世寂寞
    2020-12-13 19:53

    I had the same problem. It take place when in included file I'd used

    namespace std

    without using it in main file or vice versa. Do check using namespace equally.

提交回复
热议问题