Boost logo

Boost :

Subject: Re: [boost] [1.51][thread] Compile errors when chrono is disabled
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2012-07-27 01:50:08


On Wednesday 25 July 2012 17:26:51 you wrote:
> On Wednesday 25 July 2012 17:24:11 you wrote:
> > Hi,
> >
> > There is a problem with Boost.Thread on windows, when
> > BOOST_THREAD_USES_CHRONO macro is defined. In win32/basic_timed_mutex.hpp
> > there are references to Boost.Chrono not guarded with this macro, which
> > results in compile errors. Could this be fixed before the 1.51 release? I
> > can apply the change, if permission is granted.
>
> Sorry, I meant BOOST_THREAD_DONT_USE_CHRONO macro, of course.

I've applied the change to trunk:

  https://svn.boost.org/trac/boost/changeset/79753

I tested compilation locally. Also several test platforms (including one
Windows) have cycled with this change with no errors. May I merge it to
release?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk