Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is 'required from here' error

Tags:

c++

eclipse

mingw

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?

like image 661
Etherealone Avatar asked Feb 08 '13 19:02

Etherealone


1 Answers

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.

like image 148
gnod Avatar answered Oct 13 '22 19:10

gnod