Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-24 08:26:25


"Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> writes:

>>>> I just tried to compile something with the test library and two
>>>> translation units. Boom! It was this definition, which appears in
>>>> boost/test/impl/execution_monitor.ipp.
>>>
>>> I wonder which Boost.Test componenent were you using?
>>
>> Well, minimal test, and I now know it applies only to single TUs, but
>> the bug would apply to multiple TUs.
>
> Actually none of the Boost.Test inline components are supposed to be used
> for multiple testing modules (all supply main function()). So I do not think
> any fix is required.

I'm sorry, but when I look at the documentation for execution_monitor,
I don't see "don't use this in multiple TUs." What am I missing?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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