Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2004-07-28 04:59:47

Rene Rivera wrote:

> Michael Glassford wrote:
>> Joel de Guzman wrote:
>>> Hi,
>>> Has all the Boost.Threads problems been solved yet? I
>>> am still having link problems with Threads on intel-win32-7.1
>>> -vc6 (w/ or w/out stlport- 4.5.3):
>>> Any clues?
>> I believe I remember that auto-link should be turned off for
>> regression tests by defining BOOST_ALL_NO_LIB (as it is for
>> Boost.Threads, apparently), though I don't remember why it should be
>> or where the library name comes from in that case. Anyone?
> Yes you remember correctly. The reasons are rather simple: if one
> directly refers to another library in the test, with <dll>* or <lib>*,
> then the library is linked to directly and hence there is no need for
> auto-linking. And auto-linking in that case would be redundant, and may
> even cause errors and warnings from the linker. But the reason one
> *must* refer to other libraries directly for tests is that auto-linking
> is not available on all platforms. Hence since they are mutually
> exclusive and tests need to be cross-platform auto-linking needs to be
> disabled for regression testing.
> For the Spirit tests there are two ways to add the correct define:
> The first one has the benefit that the extra define is *only* added when
> the thread library is used.

Thanks! I applied the first simpler patch. I hope to see everything
green tomorrow. Fingers crossed...


Joel de Guzman

Boost list run by bdawes at, gregod at, cpdaniel at, john at