Boost logo

Boost-Build :

From: brock_peabody (bpyama_at_[hidden])
Date: 2003-10-15 13:10:05


--- In jamboost_at_[hidden], Vladimir Prus <ghost_at_c...> wrote:
[...]
> Yea, it does not recognize it. Could you please get
>
> http://zigzag.cs.msu.su:7813/working_copy/new/os.jam
> http://zigzag.cs.msu.su:7813/working_copy/tools/gcc.jam
>
> place to the appropriate directories in your V2 tree and try
again. I've moved
> threading related code from V1, and hopefully it will fix your
problem.

Hi Volodya,

This makes the warning about "-pthread" go away, but the program
still won't compile unless I put "#define BOOST_HAS_THREADS" inside
my source before I include <boost/thread.hpp>. This is the case
even though I've manually put #define BOOST_HAS_THREADS in
boost/config/compiler/gcc.hpp. Am I wrong in thinking that I
shouldn't have to include config.hpp for settings that another
library uses? Do you think this is a problem with Boost.Thread?

Thanks,

Brock

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk