In file included from /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/container/map.hpp:26:0, from /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/interprocess/containers/map.hpp:19, from ./MyClass.h:6, from MyClass.cpp:1: /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/container/detail/tree.hpp: In member function ‘typename boost::container::container_detail::enable_if_c::key_node_compare::is_node::value, const Value&>::type boost::container::container_detail::rbtree::key_node_compare::key_forward(const T&) const [with T = boost::container::container_detail::rbtree_node, boost::interprocess::offset_ptr >, KeyValueCompare = boost::container::container_detail::value_compare_impl, std::less, boost::container::container_detail::select1st > >, Key = unsigned int, Value = std::pair, KeyOfValue = boost::container::container_detail::select1st >, KeyCompare = std::less, A = boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> >, typename boost::container::container_detail::enable_if_c::key_node_compare::is_node::value, const Value&>::type = const std::pair&]’: /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/container/detail/tree.hpp:400:93: instantiated from ‘bool boost::container::container_detail::rbtree::key_node_compare::operator()(const KeyType&, const KeyType2&) const [with KeyType = unsigned int, KeyType2 = boost::container::container_detail::rbtree_node, boost::interprocess::offset_ptr >, KeyValueCompare = boost::container::container_detail::value_compare_impl, std::less, boost::container::container_detail::select1st > >, Key = unsigned int, Value = std::pair, KeyOfValue = boost::container::container_detail::select1st >, KeyCompare = std::less, A = boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> >]’ /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/intrusive/detail/utilities.hpp:222:76: instantiated from ‘bool boost::intrusive::detail::key_nodeptr_comp::operator()(const KeyType&, const KeyType2&) const [with KeyType = unsigned int, KeyType2 = boost::interprocess::offset_ptr >, long int, long unsigned int, 0u>, KeyValueCompare = boost::container::container_detail::rbtree, boost::container::container_detail::select1st >, std::less, boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> > >::key_node_compare, std::less, boost::container::container_detail::select1st > > >, Container = boost::intrusive::rbtree_impl, boost::interprocess::offset_ptr >, boost::intrusive::rbtree_node_traits, true>, (boost::intrusive::link_mode_type)0u, boost::intrusive::default_tag, 3>, boost::container::container_detail::node_compare, std::less, boost::container::container_detail::select1st > >, boost::container::container_detail::rbtree_node, boost::interprocess::offset_ptr > >, long unsigned int, true> >]’ /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/intrusive/detail/tree_algorithms.hpp:761:49: instantiated from ‘static boost::intrusive::detail::tree_algorithms::node_ptr boost::intrusive::detail::tree_algorithms::find(const const_node_ptr&, const KeyType&, KeyNodePtrCompare) [with KeyType = unsigned int, KeyNodePtrCompare = boost::intrusive::detail::key_nodeptr_comp, boost::container::container_detail::select1st >, std::less, boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> > >::key_node_compare, std::less, boost::container::container_detail::select1st > > >, boost::intrusive::rbtree_impl, boost::interprocess::offset_ptr >, boost::intrusive::rbtree_node_traits, true>, (boost::intrusive::link_mode_type)0u, boost::intrusive::default_tag, 3>, boost::container::container_detail::node_compare, std::less, boost::container::container_detail::select1st > >, boost::container::container_detail::rbtree_node, boost::interprocess::offset_ptr > >, long unsigned int, true> > >, NodeTraits = boost::intrusive::rbtree_node_traits, true>, boost::intrusive::detail::tree_algorithms::node_ptr = boost::interprocess::offset_ptr >, long int, long unsigned int, 0u>, boost::intrusive::detail::tree_algorithms::const_node_ptr = boost::interprocess::offset_ptr >, long int, long unsigned int, 0u>]’ /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/intrusive/rbtree_algorithms.hpp:501:53: instantiated from ‘static boost::intrusive::rbtree_algorithms::node_ptr boost::intrusive::rbtree_algorithms::find(const const_node_ptr&, const KeyType&, KeyNodePtrCompare) [with KeyType = unsigned int, KeyNodePtrCompare = boost::intrusive::detail::key_nodeptr_comp, boost::container::container_detail::select1st >, std::less, boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> > >::key_node_compare, std::less, boost::container::container_detail::select1st > > >, boost::intrusive::rbtree_impl, boost::interprocess::offset_ptr >, boost::intrusive::rbtree_node_traits, true>, (boost::intrusive::link_mode_type)0u, boost::intrusive::default_tag, 3>, boost::container::container_detail::node_compare, std::less, boost::container::container_detail::select1st > >, boost::container::container_detail::rbtree_node, boost::interprocess::offset_ptr > >, long unsigned int, true> > >, NodeTraits = boost::intrusive::rbtree_node_traits, true>, boost::intrusive::rbtree_algorithms::node_ptr = boost::interprocess::offset_ptr >, long int, long unsigned int, 0u>, boost::intrusive::rbtree_algorithms::const_node_ptr = boost::interprocess::offset_ptr >, long int, long unsigned int, 0u>]’ /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/intrusive/rbtree.hpp:1152:83: instantiated from ‘boost::intrusive::rbtree_impl::iterator boost::intrusive::rbtree_impl::find(const KeyType&, KeyValueCompare) [with KeyType = unsigned int, KeyValueCompare = boost::container::container_detail::rbtree, boost::container::container_detail::select1st >, std::less, boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> > >::key_node_compare, std::less, boost::container::container_detail::select1st > > >, Config = boost::intrusive::setopt, boost::interprocess::offset_ptr >, boost::intrusive::rbtree_node_traits, true>, (boost::intrusive::link_mode_type)0u, boost::intrusive::default_tag, 3>, boost::container::container_detail::node_compare, std::less, boost::container::container_detail::select1st > >, boost::container::container_detail::rbtree_node, boost::interprocess::offset_ptr > >, long unsigned int, true>, boost::intrusive::rbtree_impl::iterator = boost::intrusive::tree_iterator, boost::interprocess::offset_ptr >, boost::intrusive::rbtree_node_traits, true>, (boost::intrusive::link_mode_type)0u, boost::intrusive::default_tag, 3>, boost::container::container_detail::node_compare, std::less, boost::container::container_detail::select1st > >, boost::container::container_detail::rbtree_node, boost::interprocess::offset_ptr > >, long unsigned int, true> >, false>]’ /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/container/detail/tree.hpp:935:74: instantiated from ‘boost::container::container_detail::rbtree::iterator boost::container::container_detail::rbtree::find(const key_type&) [with Key = unsigned int, Value = std::pair, KeyOfValue = boost::container::container_detail::select1st >, KeyCompare = std::less, A = boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> >, boost::container::container_detail::rbtree::key_type = unsigned int]’ /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/container/map.hpp:593:26: instantiated from ‘boost::container::map::iterator boost::container::map::find(const key_type&) [with Key = unsigned int, T = unsigned int, Pred = std::less, A = boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> >, boost::container::map::iterator = boost::container::container_detail::rbtree, boost::container::container_detail::select1st >, std::less, boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> > >::iterator, boost::container::map::key_type = unsigned int]’ MyClass.cpp:48:35: instantiated from here /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/container/detail/tree.hpp:391:31: warning: returning reference to temporary [enabled by default] In file included from /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/interprocess/containers/map.hpp:19:0, from ./MyClass.h:6, from MyClass.cpp:1: /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/container/map.hpp: In constructor ‘boost::container::map::map(const Pred&, const allocator_type&) [with Key = unsigned int, T = unsigned int, Pred = std::less, A = boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> >, boost::container::map::allocator_type = boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> >]’: /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/preprocessor/iteration/detail/local.hpp:40:1: recursively instantiated from ‘void boost::interprocess::ipcdetail::Ctor2Arg::construct(void*, boost::interprocess::ipcdetail::false_) [with T = boost::container::map, boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> > >, bool is_iterator = false, P0 = std::less, P1 = boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> >, boost::interprocess::ipcdetail::false_ = boost::interprocess::ipcdetail::bool_]’ /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/preprocessor/iteration/detail/local.hpp:40:1: instantiated from ‘void boost::interprocess::ipcdetail::Ctor2Arg::construct_n(void*, std::size_t, std::size_t&) [with T = boost::container::map, boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> > >, bool is_iterator = false, P0 = std::less, P1 = boost::interprocess::allocator, boost::interprocess::segment_manager, boost::interprocess::iset_index> >, std::size_t = long unsigned int]’ MyClass.cpp:49:1: instantiated from here /home/riyer/workspace/RTB/third-party/build//boost_1_49_0/include/boost/container/map.hpp:147:1: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE’ make: *** [MyClass.o] Error 1