Boost logo

Boost :

From: Ilya Sokolov (fal_delivery_at_[hidden])
Date: 2007-12-25 02:52:03


Gennadiy Rozental wrote:

[snip]

>>> 2. Unfortunately original test modult function signature is unacceptable
>>> for
>>> DLL initialization. So i had to introduce new one.
>> I don't see it unacceptable, given the majority of
>> init_unit_test_suite() functions using BOOST_TEST_SUITE macro. I think
>
> See my other post.

What post?

[snip]

>> I want to seamlessly migrate from static UTF to shared. I need to
>> fallback to the static UTF where it is not supported (by toolchain).
>
> Where? The primary direction of my effort was to make sure shared library
> works consistently on all platforms.

Even on platforms that does not have shared libraries at all? ;-)

> If you still insist on static/shared
> library compartibility it can be achieved: define BOOST_TEST_NO_MAIN and
> BOOST_TEST_ALTERMNATIVE_INIT_API during library compilation and you got what
> you need.

I'm trying to argue that such use case is needlessly complex.


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