Boost logo

Boost :

From: Russell Hind (rh_gmane_at_[hidden])
Date: 2005-05-10 04:21:17


I'm trying the regression tests on bcc32 5.6.4. The first error (and
often occuring one with bcc32) is in detail/static_move_ptr.hpp line 70
should be changed from

     static_move_ptr( const move_ptrs::move_source<static_move_ptr>& src )

to

     static_move_ptr( const move_ptrs::move_source<static_move_ptr<T,
Deleter> >& src )

The next is in detail/reversible_ptr_container.hpp line 117 where

         typedef null_clone_allocator<allow_null>
null_cloner_type;

needs to be

         typedef
null_clone_allocator<reversible_ptr_container::allow_null>
       null_cloner_type;

The next is in ptr_vector.hpp line 43:

         BOOST_PTR_CONTAINER_DEFINE_NON_INHERITED_MEMBERS( ptr_vector,

needs to be

         BOOST_PTR_CONTAINER_DEFINE_NON_INHERITED_MEMBERS(
ptr_vector<T,CloneAllocator,Allocator>,

And the same in ptr_deque. I guess this is the same for the other
ptr_XXXX.hpp files (list,set,map etc).

The next error I'm not so sure on is in tutl.cpp line 233:

tut1.cpp:
Error E2227 tut1.cpp 233: Extra parameter in call to
boost::ptr_deque<animal,boost::heap_clone_allocator,_STL::allocator<void
*> >::release() in function
farm::sell_animal(boost::void_ptr_iterator<_STL::_Deque_iterator<void
*,_STL::_Nonconst_traits<void *> >,animal>)
Error E2034 tut1.cpp 233: Cannot convert
'_STL::auto_ptr<boost::ptr_deque<animal,boost::heap_clone_allocator,_STL::allocator<void
*> > >' to
'boost::ptr_container_detail::static_move_ptr<animal,boost::ptr_container_detail::clone_deleter<boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<animal,_STL::deque<void
*,_STL::allocator<void *> >
>,boost::heap_clone_allocator>::null_clone_allocator<0> > >' in
function
farm::sell_animal(boost::void_ptr_iterator<_STL::_Deque_iterator<void
*,_STL::_Nonconst_traits<void *> >,animal>)

Cheers

Russell


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