什么是“从这里需要”错误 [英] What is 'required from here' error

查看:542
本文介绍了什么是“从这里需要”错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它在我的Eclipse问题视图中。代码编译良好,但有一个错误说从这里需要,指向一些boost头文件和 state_data const current_state = interlocked_compare_exchange (& state,new_state,old_state);

It is in my Eclipse Problems view. The code compiles fine but there is an error saying "required from here", pointing to some boost header file and to the line state_data const current_state=interlocked_compare_exchange(&state,new_state,old_state);

我不喜欢有错误或警告。

I don't like to have errors or warnings. Does anybody know what that is?

推荐答案

这种行为是eclipse CDT错误解析器的一个错误: https://bugs.eclipse.org/bugs/show_bug.cgi?id=108720
实际上,这个错误是一个警告,提升负责。您可以禁用此特殊类型的警告,以省略它们。

This behavior is a bug of eclipse CDT Error Parser: https://bugs.eclipse.org/bugs/show_bug.cgi?id=108720 Actually this error is a warning and boost is responsible for it. You can disable this special kind of warnings to omit them.

这篇关于什么是“从这里需要”错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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