[seb@seb-desktop tmp]$ g++ -I boost_1_55_0/ test-boost.cpp In file included from boost_1_55_0/boost/multi_index/detail/index_base.hpp:24:0, from boost_1_55_0/boost/multi_index/detail/base_type.hpp:21, from boost_1_55_0/boost/multi_index_container.hpp:34, from test-boost.cpp:2: boost_1_55_0/boost/multi_index/detail/node_type.hpp: In instantiation of ‘struct boost::multi_index::detail::index_node_applier::apply, boost::multi_index::detail::index_node_base, boost::interprocess::iset_index> > > >’: boost_1_55_0/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp:46:8: required from ‘struct boost::mpl::apply_wrap2, boost::multi_index::detail::index_node_base, boost::interprocess::iset_index> > > >’ boost_1_55_0/boost/mpl/aux_/preprocessed/gcc/bind.hpp:207:21: required from ‘struct boost::mpl::bind2, mpl_::arg<1> >::apply, boost::interprocess::iset_index> > >, boost::mpl::v_iter >’ boost_1_55_0/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp:46:8: required from ‘struct boost::mpl::apply_wrap2, mpl_::arg<1> >, boost::multi_index::detail::index_node_base, boost::interprocess::iset_index> > >, boost::mpl::v_iter >’ boost_1_55_0/boost/mpl/aux_/preprocessed/gcc/apply.hpp:67:8: required from ‘struct boost::mpl::apply2, mpl_::arg<1> >, boost::multi_index::detail::index_node_base, boost::interprocess::iset_index> > >, boost::mpl::v_iter >’ boost_1_55_0/boost/mpl/aux_/preprocessed/gcc/reverse_iter_fold_impl.hpp:81:67: required from ‘struct boost::mpl::aux::reverse_iter_fold_impl<2l, boost::mpl::v_iter, boost::mpl::v_iter, boost::multi_index::detail::index_node_base, boost::interprocess::iset_index> > >, boost::mpl::bind2, mpl_::arg<1> >, boost::mpl::protect, 0> >’ boost_1_55_0/boost/mpl/reverse_iter_fold.hpp:43:18: required from ‘struct boost::mpl::reverse_iter_fold, boost::interprocess::iset_index> > >, boost::mpl::bind2, mpl_::arg<1> >, mpl_::arg<1> >’ boost_1_55_0/boost/multi_index/detail/node_type.hpp:70:11: required from ‘struct boost::multi_index::detail::multi_index_node_type, boost::interprocess::iset_index> > >’ boost_1_55_0/boost/multi_index_container.hpp:85:7: required from ‘class boost::multi_index::multi_index_container, boost::interprocess::iset_index> > >’ test-boost.cpp:41:69: required from here boost_1_55_0/boost/multi_index/detail/node_type.hpp:56:53: error: invalid use of incomplete type ‘boost::multi_index::detail::index_node_applier::apply, boost::multi_index::detail::index_node_base, boost::interprocess::iset_index> > > >::index_specifier {aka struct boost::multi_index::ordered_non_unique, boost::multi_index::member > >}’ BOOST_NESTED_TEMPLATE node_class::type type; ^ In file included from boost_1_55_0/boost/multi_index_container_fwd.hpp:19:0, from boost_1_55_0/boost/multi_index_container.hpp:31, from test-boost.cpp:2: boost_1_55_0/boost/multi_index/ordered_index_fwd.hpp:118:8: error: declaration of ‘boost::multi_index::detail::index_node_applier::apply, boost::multi_index::detail::index_node_base, boost::interprocess::iset_index> > > >::index_specifier {aka struct boost::multi_index::ordered_non_unique, boost::multi_index::member > >}’ struct ordered_non_unique; ^ In file included from boost_1_55_0/boost/multi_index_container.hpp:34:0, from test-boost.cpp:2: boost_1_55_0/boost/multi_index/detail/base_type.hpp: In instantiation of ‘struct boost::multi_index::detail::index_applier::apply, boost::multi_index::detail::nth_layer<2, element, myIndex, boost::interprocess::allocator, boost::interprocess::iset_index> > > >’: boost_1_55_0/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp:46:8: required from ‘struct boost::mpl::apply_wrap2, boost::multi_index::detail::nth_layer<2, element, myIndex, boost::interprocess::allocator, boost::interprocess::iset_index> > > >’ boost_1_55_0/boost/mpl/aux_/preprocessed/gcc/apply.hpp:67:8: required from ‘struct boost::mpl::apply2, boost::multi_index::detail::nth_layer<2, element, myIndex, boost::interprocess::allocator, boost::interprocess::iset_index> > > >’ boost_1_55_0/boost/mpl/eval_if.hpp:60:31: required from ‘struct boost::mpl::eval_if_c, boost::interprocess::iset_index> > > >, boost::mpl::apply2, boost::multi_index::detail::nth_layer<2, element, myIndex, boost::interprocess::allocator, boost::interprocess::iset_index> > > > >’ boost_1_55_0/boost/multi_index/detail/base_type.hpp:72:11: required from ‘struct boost::multi_index::detail::nth_layer<1, element, myIndex, boost::interprocess::allocator, boost::interprocess::iset_index> > >’ boost_1_55_0/boost/multi_index/hashed_index.hpp:84:7: required from ‘class boost::multi_index::detail::hashed_index, boost::multi_index::member, boost::multi_index::member >, boost::hash, boost::multi_index::member, boost::multi_index::member > > >, std::equal_to, boost::multi_index::member, boost::multi_index::member > > >, boost::multi_index::detail::nth_layer<1, element, myIndex, boost::interprocess::allocator, boost::interprocess::iset_index> > >, boost::mpl::vector0, boost::multi_index::detail::hashed_unique_tag>’ boost_1_55_0/boost/multi_index_container.hpp:85:7: required from ‘class boost::multi_index::multi_index_container, boost::interprocess::iset_index> > >’ test-boost.cpp:41:69: required from here boost_1_55_0/boost/multi_index/detail/base_type.hpp:54:58: error: invalid use of incomplete type ‘boost::multi_index::detail::index_applier::apply, boost::multi_index::detail::nth_layer<2, element, myIndex, boost::interprocess::allocator, boost::interprocess::iset_index> > > >::index_specifier {aka struct boost::multi_index::ordered_non_unique, boost::multi_index::member > >}’ BOOST_NESTED_TEMPLATE index_class::type type; ^ In file included from boost_1_55_0/boost/multi_index_container_fwd.hpp:19:0, from boost_1_55_0/boost/multi_index_container.hpp:31, from test-boost.cpp:2: boost_1_55_0/boost/multi_index/ordered_index_fwd.hpp:118:8: error: declaration of ‘boost::multi_index::detail::index_applier::apply, boost::multi_index::detail::nth_layer<2, element, myIndex, boost::interprocess::allocator, boost::interprocess::iset_index> > > >::index_specifier {aka struct boost::multi_index::ordered_non_unique, boost::multi_index::member > >}’ struct ordered_non_unique; ^ In file included from test-boost.cpp:2:0: boost_1_55_0/boost/multi_index_container.hpp: In instantiation of ‘class boost::multi_index::multi_index_container, boost::interprocess::iset_index> > >’: test-boost.cpp:41:69: required from here boost_1_55_0/boost/multi_index_container.hpp:178:52: error: no type named ‘final_allocator_type’ in ‘boost::multi_index::multi_index_container, boost::interprocess::iset_index> > >::super {aka class boost::multi_index::detail::hashed_index, boost::multi_index::member, boost::multi_index::member >, boost::hash, boost::multi_index::member, boost::multi_index::member > > >, std::equal_to, boost::multi_index::member, boost::multi_index::member > > >, boost::multi_index::detail::nth_layer<1, element, myIndex, boost::interprocess::allocator, boost::interprocess::iset_index> > >, boost::mpl::vector0, boost::multi_index::detail::hashed_unique_tag>}’ typedef typename super::final_allocator_type allocator_type; ^ test-boost.cpp:41: confused by earlier errors, bailing out Preprocessed source stored into /tmp/cczIHgvd.out file, please attach this to your bugreport.