Boost logo

Boost :

From: Rozental, Gennadiy (gennadiy.rozental_at_[hidden])
Date: 2003-03-25 22:01:05


> The new (Boost 1.30.0) BOOST_AUTO_UNIT_TEST macro appends the current
> file line
> number to the generated function name. This can cause name collisions
> across
> source files. My patch appends the function name. The function name has
> global
> visibility, so it should be unique.

BOOST_AUTO_UNIT_TEST couldn't work with multiple source files anyway, since
header supply init function and you could not include it twice in separate
modules.

If you have solution that solve all the issues with multiple modules I will
be happy to discuss it.

Gennadiy.


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