On Fri, Oct 11, 2013 at 9:20 AM, ken han <j609444@gmail.com> wrote:
On Fri, Oct 11, 2013 at 4:16 AM, Vladimir Prus <ghost@cs.msu.su> wrote:
Try running this command by hand, on the command line? If no further diagnostics is provided by gcc, I am not sure what we can do.

I found https://svn.boost.org/trac/boost/ticket/4849 and it seems to be similar, although I get two link errors in a run rather then just one. So I added "define=BOOST_USE_WINDOWS_H" to the list of b2 command line parameters (is that where it goes? does it need -- before it?), but that did not change any thing. Should I try one of the patches listed there? And how do I do that?

I figured out to apply this patch to /boost_1_54_0/detail/iterlocked.hpp. Preliminary run seems to indicate that boost.thread now compiles. Thank-you.


How do I tell if this is using with posix or windows threads?