[
https://issues.apache.org/jira/browse/QPID-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Stitcher resolved QPID-4634.
-----------------------------------
Resolution: Fixed
Fix Version/s: 0.21
fixed in trunk r1454595
> C++ broker Boost-related compile errors
> ---------------------------------------
>
> Key: QPID-4634
> URL: https://issues.apache.org/jira/browse/QPID-4634
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.21
> Environment: RHEL 5, g++ 4.1.2, Boost 1.33.1
> Reporter: Steve Huston
> Assignee: Andrew Stitcher
> Fix For: 0.21
>
>
> These compile errors started appearing recently:
> /qpidbuilds/trunk/qpid/cpp/src/qpid/broker/Selector.cpp:34:33: error:
> boost/make
> _shared.hpp: No such file or directory
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp: In copy
> co
> nstructor ‘boost::ptr_sequence_adapter<std::basic_string<char,
> std::char_traits<
> char>, std::allocator<char> >, std::vector<void*, std::allocator<void*> >,
> boost
> ::heap_clone_allocator>::ptr_sequence_adapter(const
> boost::ptr_sequence_adapter<
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
> std::vec
> tor<void*, std::allocator<void*> >, boost::heap_clone_allocator>&)’:
> /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:294:
> error:
> ‘boost::ptr_container_detail::reversible_ptr_container<Config,
> CloneAllocator>:
> :reversible_ptr_container(const
> boost::ptr_container_detail::reversible_ptr_cont
> ainer<Config, CloneAllocator>&) [with Config =
> boost::ptr_container_detail::sequ
> ence_config<std::basic_string<char, std::char_traits<char>,
> std::allocator<char>
> >, std::vector<void*, std::allocator<void*> > >, CloneAllocator =
> boost::heap_c
> lone_allocator]’ is private
> /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:148: error: within
> thi
> s context
> /usr/include/boost/ptr_container/ptr_vector.hpp: In copy constructor
> ‘boost::ptr
> _vector<std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >,
> boost::heap_clone_allocator, std::allocator<void*> >::ptr_vector(const
> boost::pt
> r_vector<std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >,
> boost::heap_clone_allocator, std::allocator<void*> >&)’:
> /usr/include/boost/ptr_container/ptr_vector.hpp:35: note: synthesized method
> ‘bo
> ost::ptr_sequence_adapter<std::basic_string<char, std::char_traits<char>,
> std::a
> llocator<char> >, std::vector<void*, std::allocator<void*> >,
> boost::heap_clone_
> allocator>::ptr_sequence_adapter(const
> boost::ptr_sequence_adapter<std::basic_st
> ring<char, std::char_traits<char>, std::allocator<char> >, std::vector<void*,
> st
> d::allocator<void*> >, boost::heap_clone_allocator>&)’ first required here
> /qpidbuilds/trunk/qpid/cpp/src/qpid/broker/Selector.cpp: In copy constructor
> ‘qp
> id::broker::MessageSelectorEnv::MessageSelectorEnv(const
> qpid::broker::MessageSe
> lectorEnv&)’:
> /qpidbuilds/trunk/qpid/cpp/src/qpid/broker/Selector.cpp:89: note: synthesized
> me
> thod ‘boost::ptr_vector<std::basic_string<char, std::char_traits<char>,
> std::all
> ocator<char> >, boost::heap_clone_allocator, std::allocator<void*>
> >::ptr_vector
> (const boost::ptr_vector<std::basic_string<char, std::char_traits<char>,
> std::al
> locator<char> >, boost::heap_clone_allocator, std::allocator<void*> >&)’
> first r
> equired here
> /qpidbuilds/trunk/qpid/cpp/src/qpid/broker/Selector.cpp: In member function
> ‘boo
> l qpid::broker::Selector::filter(const qpid::broker::Message&)’:
> /qpidbuilds/trunk/qpid/cpp/src/qpid/broker/Selector.cpp:175: note:
> synthesized m
> ethod ‘qpid::broker::MessageSelectorEnv::MessageSelectorEnv(const
> qpid::broker::
> MessageSelectorEnv&)’ first required here
> /qpidbuilds/trunk/qpid/cpp/src/qpid/broker/Selector.cpp: In function
> ‘boost::sha
> red_ptr<qpid::broker::Selector> qpid::broker::returnSelector(const
> std::string&)
> ’:
> /qpidbuilds/trunk/qpid/cpp/src/qpid/broker/Selector.cpp:185: error:
> ‘make_shared
> ’ is not a member of ‘boost’
> /qpidbuilds/trunk/qpid/cpp/src/qpid/broker/Selector.cpp:185: error: expected
> pri
> mary-expression before ‘>’ token
> make[2]: *** [src/CMakeFiles/qpidbroker.dir/qpid/broker/Selector.o] Error 1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]