Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-11-29 04:30:53


Anthony Williams wrote:
> There's more uses of BOOST_HAS_THREADS, but looking at them
> (including those in the regex headers), it seems to me that
> BOOST_HAS_THREADS really ought to be defined for a multi-threaded
> build, even if /Za is specified, otherwise the code won't be
> thread-safe.
>
> Code that depends on <windows.h> will break if /Za is specified, but
> that's a separate issue to BOOST_DISABLE_THREADS. I'm not suggesting
> we should be able to *build* boost with /Za, just use it.
>
>> I would prefer not to make this change to Boost.Config for 1.35, but
>> we should try to find a decent way of handling this.
>
> I was thinking that we didn't fix this in 1.34, so we ought to try
> and fix it in
> 1.35.

Well, how about you run the full regressions tests with /Za both with and
without the config changes and see what happens?

Regards, John.


Boost 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