|
Boost : |
From: Rozental, Gennadiy (gennadiy.rozental_at_[hidden])
Date: 2003-03-26 12:47:44
> In your original e-mail, you asked for a solution to the
> multiple function
> definition error. Wouldn't using a mechanism similar to
> cpp_main work? Ie, put
> the init_unit_test_suite() definition in a CPP file that only
> gets included
> once, such as:
>
> #include <boost/test/included/auto_unit_test.hpp>
>
> Which in turn includes
>
> #include <libs/test/src/auto_unit_test.cpp>
You mean guarded by some kind of macro?
I will think more about multi - module support.
> I still stand by my original patch submission. Although, as
> you pointed out,
> for the vast majority of users, it is of no value. However,
> it worked for me,
> and it is likely to help others in the future.
I will consider this.
Gennadiy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk