I try to use boost boost for the first time in a long time, and when I turn on the boost / thread.hpp header, I get a compilation error inside boost itself:
c:\myproj\boost_1_46_0\boost\thread\win32\thread_heap_alloc.hpp(97): error C2061: syntax error : identifier 'heap_memory c:\myproj\boost_1_46_0\boost\thread\detail\thread.hpp(134) : see reference to function template instantiation 'T *boost::detail::heap_new<boost::detail::thread_data<F>,void(__cdecl *)(void)>(A1 &&)' being compiled with [ T=boost::detail::thread_data<void (__cdecl *)(void)>, F=void (__cdecl *)(void), A1=void (__cdecl *)(void) ]`
This only happens by including the header, it looks like it has nothing to do with my code, but I canβt figure out what to do with it, can anyone help?
source share