c ++ eclipse错误解释 [英] c++ eclipse wrong error interpretation

查看:252
本文介绍了c ++ eclipse错误解释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个eclipse C ++的问题。我的项目编译和运行,但eclipse(juno)不断说有成千上万的错误。例如,在我的代码中有一个函数SetRun,并且eclipse提到这个错误:调用无效参数'候选是:void SetRun(?)',而SetRun是类型static void SetRun(uint32_t run);

I'm having a problem with eclipse C++. My project compiles and runs but eclipse (juno) keeps saying there are thousands of errors. For example there's a function SetRun in my code, and eclipse mentions this error: "called Invalid arguments 'Candidates are: void SetRun(?)'", whereas SetRun is of type static void SetRun (uint32_t run);

我有很多类似的错误,其中eclipse似乎不理解函数的类型,并放置一个'?'。

I have quite a lot of similar errors like that, where eclipse doesn't seem to understand the type of the function and puts a '?' instead.

我也有这样的错误:symbol'*'无法解决。

I also have many errors like this: "symbol '*' could not be resolved."

我认为这是一切

我可以做什么让eclipse停止告诉我这些错误?

What can I do to make eclipse stop telling me about these errors?

推荐答案

实际上Eclipse是一种不稳定的项目。尝试清理和刷新项目。

Actually Eclipse is some kind of unstable project. Try to clean and refresh the project.

这篇关于c ++ eclipse错误解释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆