|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-11-10 12:30:57
John Maddock wrote:
>> What are the exact errors that you get?
>
>
> "g++" -c -Wall -ftemplate-depth-255 -DTEST_STD_HEADERS=1 -g -O0
> -fno-inline
> -I"/u/troy/boost-regressions/results/bin/boost/libs/tr1/test"
> -I"/u/troy/boost-regressions/boost/boost/tr1/tr1/bcc32"
> -I "/u/troy/boost-regressions/boost/boost/tr1/tr1" -I
> "/u/troy/boost-regressions/boost" -o
> "/u/troy/boost-regressions/results/bin/boost/libs/tr1/test/std_run_complex_overloads.test/gcc/debug/run_complex_overloads.o"
> "/u/troy/boost-regressions/boost/libs/tr1/test/run_complex_overloads.cpp"
>
>
> In file included from
> /u/troy/boost-regressions/boost/boost/tr1/memory.hpp:57,
> from
> /u/troy/boost-regressions/boost/boost/tr1/tr1/memory:28,
> from
> /u/troy/boost-regressions/boost/boost/detail/sp_counted_impl.hpp:34,
Can you try guarding this #include like so:
#if defined(BOOST_SP_USE_STD_ALLOCATOR)
#include <memory> // std::allocator
#endif
and see if this fixes the problem?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk