Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2008-04-03 13:43:57


Peter Dimov wrote:
> Joe Gottman quite correctly points out in
>
> http://svn.boost.org/trac/boost/ticket/1762
>
> that shared_ptr should honor user definitions of
> BOOST_DISABLE_THREADS and disable MT support.
>
> Unfortunately, despite documenting quite clearly that
> BOOST_DISABLE_THREADS is a user macro, Boost.Config defines it in
> some situations. This means that I can't rely on this macro to
> reflect the user's intent, as I don't know whether it's been set
> explicitly by the user, or implicitly (and incorrectly IMO) by
> Boost.Config.

My gut feeling is to remove the code in suffix.hpp that defines it when
BOOST_DISABLE_WIN32 is set (which is the only place Boost.Config sets it I
believe) and see if anyone complains.

John.


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