|
Boost : |
From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2007-01-03 06:28:04
"John Maddock" <john_at_[hidden]> writes:
> This may prove to be a tricky one: I think we can safely link to the thread
> lib when building with /Za, but I suspect that there are other libraries
> that depend on BOOST_HAS_THREADS as well: in fact a quick search through the
> headers showed rather a lot of uses, some relate to use of Boost.Threads,
> but many don't.
>
> I guess we could invent a new macro BOOST_HAS_THREAD_LIB or something, but
> then to be consistent, we would have to change some but not all uses of
> BOOST_HAS_THREADS in other libraries to this new macro. Tricky to get it
> all right.
Yes, especially without an automated test for this scenario. Something to
leave for 1.35?
> Also, haven't some of the Boost.Thread components become header only now?
Yes.
> Will these still work with /Za?
Yes. That's the intention, anyway.
Anthony
-- Anthony Williams Software Developer Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk