Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with boost threads on hpux
From: Gavin Lambert (boost_at_[hidden])
Date: 2019-02-20 02:41:01


On 20/02/2019 12:49, John Parke wrote:
> The version of boost I am using is 1.69.0.
> I build boost with:
>
> ./bjam -a -j6 install --build-dir=build address-model=64 variant=release link=static \
> threading=multi runtime-link=static \
> define=BOOST_THREAD_DONT_USE_CHRONO \
> --with-date_time --with-filesystem \
> --with-system --with-thread
[...]
> It appears that the define=BOOST_THREAD_DONT_USE_CHRONO, had no affect.

You need to define this when you are building your app/lib (before
including any Boost header files).

Usually defining these at Boost build time is not necessary, but
probably doesn't hurt.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net