Christian Mol wrote:
Hello,
Probably a newbie question, but here it goes: if I include the boost thread as follows
#include
and try to compile my library in MSVC++ 2005, I get a lot of errors in c:\boost\include\boost-1_33_1\boost\bind\mem_fn_template.hpp
I have included a piece of the errorlog next:
3>c:\boost\include\boost-1_33_1\boost\bind\mem_fn_template.hpp(120) : error C2917: '_av *' : invalid template-parameter 3>c:\boost\include\boost-1_33_1\boost\bind\mem_fn_template.hpp(126) : error C2146: syntax error : missing ';' before identifier 'second_argument_type'
[...]
Could someone give me any pointers to what could be the problem? When using it in a very simple program, it does work. Including it in my quite large library it does not work.
My guess is that a header that you include before thread.hpp has #defined A1 to something and forgotten to #undef it afterwards.