Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4634

C++ broker Boost-related compile errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21
    • 0.21
    • C++ Broker
    • None
    • RHEL 5, g++ 4.1.2, Boost 1.33.1

    Description

      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

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            shuston Stephen D. Huston
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: