Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-04-29 07:57:37


John Maddock wrote:
>> No, the compiler is not at fault, it still defines _MT properly in
>> /Za
> mode.
>> The problem is that visualc.hpp defines BOOST_DISABLE_WIN32 when it
>> sees /Za, and then suffix.hpp defines BOOST_DISABLE_THREADS when it
>> sees BOOST_DISABLE_WIN32. The end result seems incorrect. I don't
>> know why this is done or how it should be fixed.
>
> Last time I checked you can't compile windows.h when in ANSI mode -

Why should this affect BOOST_HAS_THREADS? A program can use threads without
ever including windows.h.

> let me know what behaviour is correct and I'll try and patch the
> config....

I don't know. I'm not sure what BOOST_HAS_THREADS is supposed to mean.


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