|
Boost : |
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2007-11-29 13:28:04
The ptr_container header files seem to be causing a lot of very verbose and
annoying warning messages on Visual Studio 2008 at warning level 4
(highest). I'm not sure if this is my fault or what, but I was hoping you
guys could verify if this is your issue or mine. Thanks. Below are the
warnings I'm getting:
1>c:\it\personal\collision\sdk\boost\boost\ptr_container\detail\move.hpp(23)
: warning C4512: 'boost::ptr_container_detail::move_ptrs::move_source<Ptr>'
: assignment operator could not be generated
1> with
1> [
1>
Ptr=boost::ptr_container_detail::static_move_ptr<Object,boost::ptr_container_detail::clone_deleter<boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<Object,std::vector<void
*,std::allocator<void
*>>>,boost::heap_clone_allocator>::null_clone_allocator<false>>>
1> ]
1>
c:\it\personal\collision\sdk\boost\boost\ptr_container\ptr_sequence_adapter.hpp(182)
: see reference to class template instantiation
'boost::ptr_container_detail::move_ptrs::move_source<Ptr>' being compiled
1> with
1> [
1>
Ptr=boost::ptr_container_detail::static_move_ptr<Object,boost::ptr_container_detail::clone_deleter<boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<Object,std::vector<void
*,std::allocator<void
*>>>,boost::heap_clone_allocator>::null_clone_allocator<false>>>
1> ]
1>
c:\it\personal\collision\sdk\boost\boost\ptr_container\ptr_sequence_adapter.hpp(179)
: while compiling class template member function 'void
boost::ptr_sequence_adapter<T,VoidPtrSeq,CloneAllocator>::push_back(Object
*)'
1> with
1> [
1> T=Object,
1> VoidPtrSeq=std::vector<void *,std::allocator<void *>>,
1> CloneAllocator=boost::heap_clone_allocator
1> ]
1>
c:\it\personal\collision\sdk\boost\boost\ptr_container\ptr_vector.hpp(35) :
see reference to class template instantiation
'boost::ptr_sequence_adapter<T,VoidPtrSeq,CloneAllocator>' being compiled
1> with
1> [
1> T=Object,
1> VoidPtrSeq=std::vector<void *,std::allocator<void *>>,
1> CloneAllocator=boost::heap_clone_allocator
1> ]
1> c:\it\personal\collision\source\world.h(20) : see reference to
class template instantiation 'boost::ptr_vector<T>' being compiled
1> with
1> [
1> T=Object
1> ]
1>c:\it\personal\collision\sdk\boost\boost\ptr_container\detail\reversible_ptr_container.hpp(245)
: warning C4127: conditional expression is constant
1>
c:\it\personal\collision\sdk\boost\boost\ptr_container\detail\reversible_ptr_container.hpp(244)
: while compiling class template member function 'void
boost::ptr_container_detail::reversible_ptr_container<Config,CloneAllocator>::enforce_null_policy(const
Object *,const char *)'
1> with
1> [
1>
Config=boost::ptr_container_detail::sequence_config<Object,std::vector<void
*,std::allocator<void *>>>,
1> CloneAllocator=boost::heap_clone_allocator
1> ]
1>
c:\it\personal\collision\sdk\boost\boost\ptr_container\ptr_sequence_adapter.hpp(132)
: see reference to class template instantiation
'boost::ptr_container_detail::reversible_ptr_container<Config,CloneAllocator>'
being compiled
1> with
1> [
1>
Config=boost::ptr_container_detail::sequence_config<Object,std::vector<void
*,std::allocator<void *>>>,
1> CloneAllocator=boost::heap_clone_allocator
1> ]
1>c:\it\personal\collision\sdk\boost\boost\ptr_container\detail\reversible_ptr_container.hpp(247)
: warning C4127: conditional expression is constant
1>c:\it\personal\collision\sdk\boost\boost\ptr_container\detail\reversible_ptr_container.hpp(110)
: warning C4127: conditional expression is constant
1>
c:\it\personal\collision\sdk\boost\boost\ptr_container\detail\reversible_ptr_container.hpp(109)
: while compiling class template member function 'void
boost::ptr_container_detail::reversible_ptr_container<Config,CloneAllocator>::null_clone_allocator<allow_null_values>::deallocate_clone(const
Object *)'
1> with
1> [
1>
Config=boost::ptr_container_detail::sequence_config<Object,std::vector<void
*,std::allocator<void *>>>,
1> CloneAllocator=boost::heap_clone_allocator,
1> allow_null_values=false
1> ]
1>
c:\it\personal\collision\sdk\boost\boost\ptr_container\detail\reversible_ptr_container.hpp(52)
: see reference to class template instantiation
'boost::ptr_container_detail::reversible_ptr_container<Config,CloneAllocator>::null_clone_allocator<allow_null_values>'
being compiled
1> with
1> [
1>
Config=boost::ptr_container_detail::sequence_config<Object,std::vector<void
*,std::allocator<void *>>>,
1> CloneAllocator=boost::heap_clone_allocator,
1> allow_null_values=false
1> ]
1>
c:\it\personal\collision\sdk\boost\boost\ptr_container\detail\static_move_ptr.hpp(85)
: see reference to function template instantiation 'void
boost::ptr_container_detail::clone_deleter<CloneAllocator>::operator
()<Object>(const T *) const' being compiled
1> with
1> [
1>
CloneAllocator=boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<Object,std::vector<void
*,std::allocator<void
*>>>,boost::heap_clone_allocator>::null_clone_allocator<false>,
1> T=Object
1> ]
1>
c:\it\personal\collision\sdk\boost\boost\ptr_container\detail\static_move_ptr.hpp(85)
: while compiling class template member function
'boost::ptr_container_detail::static_move_ptr<T,Deleter>::~static_move_ptr(void)'
1> with
1> [
1> T=Object,
1>
Deleter=boost::ptr_container_detail::clone_deleter<boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<Object,std::vector<void
*,std::allocator<void
*>>>,boost::heap_clone_allocator>::null_clone_allocator<false>>
1> ]
1>
c:\it\personal\collision\sdk\boost\boost\ptr_container\ptr_sequence_adapter.hpp(182)
: see reference to class template instantiation
'boost::ptr_container_detail::static_move_ptr<T,Deleter>' being compiled
1> with
1> [
1> T=Object,
1>
Deleter=boost::ptr_container_detail::clone_deleter<boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<Object,std::vector<void
*,std::allocator<void
*>>>,boost::heap_clone_allocator>::null_clone_allocator<false>>
1> ]
1>
c:\it\personal\collision\sdk\boost\boost\ptr_container\ptr_sequence_adapter.hpp(179)
: while compiling class template member function 'void
boost::ptr_sequence_adapter<T,VoidPtrSeq,CloneAllocator>::push_back(Object
*)'
1> with
1> [
1> T=Object,
1> VoidPtrSeq=std::vector<void *,std::allocator<void *>>,
1> CloneAllocator=boost::heap_clone_allocator
1> ]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk