|
Boost : |
From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-06-10 02:05:15
Joaquín Mª López Muñoz wrote:
> Hi Toon, maybe we have advanced a little, since, if I'm ont wrong, the
> error triggers at the second argument of the ctor. I've applied a
> similar patch to this as well. Could you please try the attached file?
This seems to solve the problem in the multi_index library ;-) but now
compilation is aborted due to errors encountered while including the
tuple library in the multi_index library ;-(
See the compiler-messages in attachment:
...found 1065 targets...
...updating 72 targets...
xlc-C++-action /home/tk/cvstop/DO/bin/boost/libs/multi_index/test/test_basic.test/vacpp/debug/test_basic.o
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/mpl/set/aux_/item.hpp", line 82.25: 1540-0095 (W) The friend function declaration "operator/" will cause an error when the enclosing template class is instantiated with arguments that declare a friend function that does not match an existing definition. The function declares only one function because it is not a template but the function type depends on one or more template parameters.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/mpl/set/aux_/item.hpp", line 83.25: 1540-0095 (W) The friend function declaration "operator%" will cause an error when the enclosing template class is instantiated with arguments that declare a friend function that does not match an existing definition. The function declares only one function because it is not a template but the function type depends on one or more template parameters.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 214.12: 1540-0711 (S) Too few template arguments have been specified.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 211.1: 1540-0700 (I) The previous message was produced while processing "boost::tuples::get<1,boost::multi_index::identity<employee>,boost::tuples::cons<std::less<employee>,boost::tuples::null_type> >(const cons<boost::multi_index::identity<employee>,boost::tuples::cons<std::less<employee>,boost::tuples::null_type> > &)".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 451.10: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::identity<employee>,std::less<employee>,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index_container.hpp", line 130.12: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::multi_index_container<struct employee,struct boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::identity<employee>,boost::multi_index::detail::null_arg,boost::multi_index::detail::null_arg>,boost::multi_index::ordered_non_unique<boost::multi_index::tag<name,by_name,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl...".
"../../../libs/multi_index/test/test_basic.cpp", line 40.25: 1540-0700 (I) The previous message was produced while processing "test_basic()".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 214.12: 1540-0711 (S) Too few template arguments have been specified.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 211.1: 1540-0700 (I) The previous message was produced while processing "boost::tuples::get<0,boost::multi_index::identity<employee>,boost::tuples::cons<std::less<employee>,boost::tuples::null_type> >(const cons<boost::multi_index::identity<employee>,boost::tuples::cons<std::less<employee>,boost::tuples::null_type> > &)".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 450.9: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::identity<employee>,std::less<employee>,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index_container.hpp", line 130.12: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::multi_index_container<struct employee,struct boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::identity<employee>,boost::multi_index::detail::null_arg,boost::multi_index::detail::null_arg>,boost::multi_index::ordered_non_unique<boost::multi_index::tag<name,by_name,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl...".
"../../../libs/multi_index/test/test_basic.cpp", line 40.25: 1540-0700 (I) The previous message was produced while processing "test_basic()".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 214.12: 1540-0711 (S) Too few template arguments have been specified.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 211.1: 1540-0700 (I) The previous message was produced while processing "boost::tuples::get<1,boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,boost::tuples::cons<std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::tuples::null_type> >(const cons<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,boost::tuples::cons<std::less<std:...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 451.10: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::age>,std::less<int>,boost::multi_index::detail::sequenced_index<boost::multi_index::detail::index_bas...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 443.5: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::identity<employee>,std::less<employee>,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index_container.hpp", line 130.12: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::multi_index_container<struct employee,struct boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::identity<employee>,boost::multi_index::detail::null_arg,boost::multi_index::detail::null_arg>,boost::multi_index::ordered_non_unique<boost::multi_index::tag<name,by_name,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl...".
"../../../libs/multi_index/test/test_basic.cpp", line 40.25: 1540-0700 (I) The previous message was produced while processing "test_basic()".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 214.12: 1540-0711 (S) Too few template arguments have been specified.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 211.1: 1540-0700 (I) The previous message was produced while processing "boost::tuples::get<0,boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,boost::tuples::cons<std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::tuples::null_type> >(const cons<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,boost::tuples::cons<std::less<std:...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 450.9: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::age>,std::less<int>,boost::multi_index::detail::sequenced_index<boost::multi_index::detail::index_bas...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 443.5: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::identity<employee>,std::less<employee>,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index_container.hpp", line 130.12: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::multi_index_container<struct employee,struct boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::identity<employee>,boost::multi_index::detail::null_arg,boost::multi_index::detail::null_arg>,boost::multi_index::ordered_non_unique<boost::multi_index::tag<name,by_name,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl...".
"../../../libs/multi_index/test/test_basic.cpp", line 40.25: 1540-0700 (I) The previous message was produced while processing "test_basic()".
xlC -c -I/home/tk/ext_projects/boost/boost_tknapen/boost -qNOOPTimize -qnoinline -g -qfullpath -qnotempinc -qfuncsect -qeh -qrtti -I"/home/tk/cvstop/DO/bin/boost/libs/multi_index/test" -I"/home/tk/ext_projects/boost/boost_tknapen/boost" -o "/home/tk/cvstop/DO/bin/boost/libs/multi_index/test/test_basic.test/vacpp/debug/test_basic.o" "../../../libs/multi_index/test/test_basic.cpp"
...failed xlc-C++-action /home/tk/cvstop/DO/bin/boost/libs/multi_index/test/test_basic.test/vacpp/debug/test_basic.o...
...skipped <@boost!libs!multi_index!test/test_basic.test/vacpp/debug>test_basic for lack of <@boost!libs!multi_index!test/test_basic.test/vacpp/debug>test_basic.o...
xlc-C++-action /home/tk/cvstop/DO/bin/boost/libs/multi_index/test/test_capacity.test/vacpp/debug/test_capacity.o
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/mpl/set/aux_/item.hpp", line 82.25: 1540-0095 (W) The friend function declaration "operator/" will cause an error when the enclosing template class is instantiated with arguments that declare a friend function that does not match an existing definition. The function declares only one function because it is not a template but the function type depends on one or more template parameters.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/mpl/set/aux_/item.hpp", line 83.25: 1540-0095 (W) The friend function declaration "operator%" will cause an error when the enclosing template class is instantiated with arguments that declare a friend function that does not match an existing definition. The function declares only one function because it is not a template but the function type depends on one or more template parameters.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 214.12: 1540-0711 (S) Too few template arguments have been specified.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 211.1: 1540-0700 (I) The previous message was produced while processing "boost::tuples::get<0,boost::multi_index::identity<employee>,boost::tuples::cons<std::less<employee>,boost::tuples::null_type> >(const cons<boost::multi_index::identity<employee>,boost::tuples::cons<std::less<employee>,boost::tuples::null_type> > &)".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 450.9: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::identity<employee>,std::less<employee>,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index_container.hpp", line 130.12: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::multi_index_container<struct employee,struct boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::identity<employee>,boost::multi_index::detail::null_arg,boost::multi_index::detail::null_arg>,boost::multi_index::ordered_non_unique<boost::multi_index::tag<name,by_name,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl...".
"../../../libs/multi_index/test/test_capacity.cpp", line 22.16: 1540-0700 (I) The previous message was produced while processing "test_capacity()".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 214.12: 1540-0711 (S) Too few template arguments have been specified.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 211.1: 1540-0700 (I) The previous message was produced while processing "boost::tuples::get<1,boost::multi_index::identity<employee>,boost::tuples::cons<std::less<employee>,boost::tuples::null_type> >(const cons<boost::multi_index::identity<employee>,boost::tuples::cons<std::less<employee>,boost::tuples::null_type> > &)".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 451.10: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::identity<employee>,std::less<employee>,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index_container.hpp", line 130.12: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::multi_index_container<struct employee,struct boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::identity<employee>,boost::multi_index::detail::null_arg,boost::multi_index::detail::null_arg>,boost::multi_index::ordered_non_unique<boost::multi_index::tag<name,by_name,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl...".
"../../../libs/multi_index/test/test_capacity.cpp", line 22.16: 1540-0700 (I) The previous message was produced while processing "test_capacity()".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 214.12: 1540-0711 (S) Too few template arguments have been specified.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 211.1: 1540-0700 (I) The previous message was produced while processing "boost::tuples::get<1,boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,boost::tuples::cons<std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::tuples::null_type> >(const cons<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,boost::tuples::cons<std::less<std:...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 451.10: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::age>,std::less<int>,boost::multi_index::detail::sequenced_index<boost::multi_index::detail::index_bas...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 443.5: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::identity<employee>,std::less<employee>,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index_container.hpp", line 130.12: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::multi_index_container<struct employee,struct boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::identity<employee>,boost::multi_index::detail::null_arg,boost::multi_index::detail::null_arg>,boost::multi_index::ordered_non_unique<boost::multi_index::tag<name,by_name,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl...".
"../../../libs/multi_index/test/test_capacity.cpp", line 22.16: 1540-0700 (I) The previous message was produced while processing "test_capacity()".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 214.12: 1540-0711 (S) Too few template arguments have been specified.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/tuple/detail/tuple_basic.hpp", line 211.1: 1540-0700 (I) The previous message was produced while processing "boost::tuples::get<0,boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,boost::tuples::cons<std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::tuples::null_type> >(const cons<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,boost::tuples::cons<std::less<std:...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 450.9: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::age>,std::less<int>,boost::multi_index::detail::sequenced_index<boost::multi_index::detail::index_bas...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index/ordered_index.hpp", line 443.5: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::detail::ordered_index<boost::multi_index::identity<employee>,std::less<employee>,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,&employee::name>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::multi_index::detail::ordered_index<boost::multi_index::member<employee,int,&employee::...".
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/multi_index_container.hpp", line 130.12: 1540-0700 (I) The previous message was produced while processing "boost::multi_index::multi_index_container<struct employee,struct boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::identity<employee>,boost::multi_index::detail::null_arg,boost::multi_index::detail::null_arg>,boost::multi_index::ordered_non_unique<boost::multi_index::tag<name,by_name,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl::void_,boost::mpl...".
"../../../libs/multi_index/test/test_capacity.cpp", line 22.16: 1540-0700 (I) The previous message was produced while processing "test_capacity()".
xlC -c -I/home/tk/ext_projects/boost/boost_tknapen/boost -qNOOPTimize -qnoinline -g -qfullpath -qnotempinc -qfuncsect -qeh -qrtti -I"/home/tk/cvstop/DO/bin/boost/libs/multi_index/test" -I"/home/tk/ext_projects/boost/boost_tknapen/boost" -o "/home/tk/cvstop/DO/bin/boost/libs/multi_index/test/test_capacity.test/vacpp/debug/test_capacity.o" "../../../libs/multi_index/test/test_capacity.cpp"
...failed xlc-C++-action /home/tk/cvstop/DO/bin/boost/libs/multi_index/test/test_capacity.test/vacpp/debug/test_capacity.o...
...skipped <@boost!libs!multi_index!test/test_capacity.test/vacpp/debug>test_capacity for lack of <@boost!libs!multi_index!test/test_capacity.test/vacpp/debug>test_capacity.o...
xlc-C++-action /home/tk/cvstop/DO/bin/boost/libs/multi_index/test/test_comparison.test/vacpp/debug/test_comparison.o
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/mpl/set/aux_/item.hpp", line 82.25: 1540-0095 (W) The friend function declaration "operator/" will cause an error when the enclosing template class is instantiated with arguments that declare a friend function that does not match an existing definition. The function declares only one function because it is not a template but the function type depends on one or more template parameters.
"/home/tk/ext_projects/boost/boost_tknapen/boost/boost/mpl/set/aux_/item.hpp", line 83.25: 1540-0095 (W) The friend function declaration "operator%" will cause an error when the enclosing template class is instantiated with arguments that declare a friend function that does not match an existing definition. The function declares only one function because it is not a template but the function type depends on one or more template parameters.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk