|
Boost : |
From: AlisdairM (alisdair.meredith_at_[hidden])
Date: 2005-07-08 15:36:03
Tobias Schwinger wrote:
> Feel free to ask me if you need some testing -- I currently have a
> little BCC farm installed (5.5.0, 5.5.1, 5.6.4, 5.6.5).
Thanks.
The Borland bug we are trying to work around can be seen in the
following example:
namespace A
{
struct duplicate {};
}
namespace B
{
using namespace A;
struct duplicate {};
}
The compiler will erroneously complain that B::duplicate is a
redefinition of A::duplicate.
In this case, the using namesspace boost; inside namespace boost_132
is causing duplicates of the shared_ptr classes, which are #included
inside Test library.
The patch I gave yesterday solved the problem for me, I am not sure why
it does not work for Robert. I am now looking for more places I might
have missed namespace using directives.
If you can apply my patch and try the shared_ptr_132 tests, I'd be
interested in the results.
-- AlisdairM
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk