Subject: [Boost-bugs] [Boost C++ Libraries] #1063: multi_index usage refuses to compile with Sun Studio 11 (CC 5.8) on sparc
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-06-20 18:52:10
#1063: multi_index usage refuses to compile with Sun Studio 11 (CC 5.8) on sparc
-------------------------+--------------------------------------------------
Reporter: anonymous | Type: Bugs
Status: new | Milestone: To Be Determined
Component: multi_index | Version: release 1.34.0
Severity: Showstopper | Keywords:
-------------------------+--------------------------------------------------
/studio11/SUNWspro/bin/CC -c -DNDEBUG -D_STL=std
-I./../rlp/utilities/include -I./../third-party-tools/boost -KPIC -mt -w
-xO5 -g0 bt_boost_test.cpp -o obj/sparc-solaris9-cc58/bt_boost_test.o
"./../third-party-tools/boost/boost/multi_index_container.hpp", line 309:
Error: An integer constant expression is required here.
"bt_boost_test.cpp", line 62: Where: While specializing
"boost::multi_index::multi_index_container, boost::multi_index::member>,
5>, ustring_hasher, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na>, std::allocator>::index".
"bt_boost_test.cpp", line 62: Where: Specialized in non-template code.
"./../third-party-tools/boost/boost/multi_index_container.hpp", line 310:
Error: The type "boost::STATIC_ASSERTION_FAILURE,
boost::multi_index::member>, 5>, ustring_hasher, mpl_::na>, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na>,
std::allocator>::index::index_found>" is incomplete.
"bt_boost_test.cpp", line 62: Where: While specializing
"boost::multi_index::multi_index_container, boost::multi_index::member>,
5>, ustring_hasher, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na>, std::allocator>::index".
"bt_boost_test.cpp", line 62: Where: Specialized in non-template code.
"bt_boost_test.cpp", line 77: Error: Could not find a match for
boost::multi_index::detail::hashed_index>, 5>, ustring_hasher,
std::equal_to>>, boost::multi_index::detail::nth_layer<1, employee,
boost::multi_index::indexed_by, boost::multi_index::member>, 5>,
ustring_hasher, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na>, std::allocator>, boost::mpl::aux::fold_impl<1, int, int,
boost::mpl::vector0, boost::mpl::bind2, mpl_::arg<1>, boost::mpl::bind1,
mpl_::void_>, mpl_::arg<1>>, 0>, mpl_::arg<2>>>>::state,
boost::multi_index::detail::hashed_unique_tag>::insert(employee) needed in
UT_Boost::testBasic().
"bt_boost_test.cpp", line 81: Error: Could not find a match for
boost::multi_index::detail::hashed_index>, 5>, ustring_hasher,
std::equal_to>>, boost::multi_index::detail::nth_layer<1, employee,
boost::multi_index::indexed_by, boost::multi_index::member>, 5>,
ustring_hasher, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na>, std::allocator>, boost::mpl::aux::fold_impl<1, int, int,
boost::mpl::vector0, boost::mpl::bind2, mpl_::arg<1>, boost::mpl::bind1,
mpl_::void_>, mpl_::arg<1>>, 0>, mpl_::arg<2>>>>::state,
boost::multi_index::detail::hashed_unique_tag>::insert(employee) needed in
UT_Boost::testBasic().
"bt_boost_test.cpp", line 83: Error: Could not find a match for
boost::multi_index::multi_index_container, boost::multi_index::member>,
5>, ustring_hasher, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na>, std::allocator>::get, boost::multi_index::member>, 5>,
ustring_hasher, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na>, std::allocator>::N>() needed in UT_Boost::testBasic().
"bt_boost_test.cpp", line 87: Error: boost::mpl::deref>, 5>,
ustring_hasher, std::equal_to>>, boost::multi_index::detail::nth_layer<1,
employee, boost::multi_index::indexed_by, boost::multi_index::member>, 5>,
ustring_hasher, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na>, std::allocator>, boost::mpl::aux::fold_impl<1, int, int,
boost::mpl::vector0, boost::mpl::bind2, mpl_::arg<1>, boost::mpl::bind1,
mpl_::void_>, mpl_::arg<1>>, 0>, mpl_::arg<2>>>>::state,
boost::multi_index::detail::hashed_unique_tag>::index_type_list,
boost::multi_index::detail::has_tag>::type>::type is not a structure type.
"bt_boost_test.cpp", line 88: Error: The operation "iterator !=
boost::multi_index::detail::hashed_index_iterator>,
boost::multi_index::detail::bucket_array, mpl_::na>" is illegal.
"bt_boost_test.cpp", line 89: Error: Pointer type needed instead of
iterator.
"bt_boost_test.cpp", line 92: Error: boost::mpl::deref>, 5>,
ustring_hasher, std::equal_to>>, boost::multi_index::detail::nth_layer<1,
employee, boost::multi_index::indexed_by, boost::multi_index::member>, 5>,
ustring_hasher, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na>, std::allocator>, boost::mpl::aux::fold_impl<1, int, int,
boost::mpl::vector0, boost::mpl::bind2, mpl_::arg<1>, boost::mpl::bind1,
mpl_::void_>, mpl_::arg<1>>, 0>, mpl_::arg<2>>>>::state,
boost::multi_index::detail::hashed_unique_tag>::index_type_list,
boost::multi_index::detail::has_tag>::type>::type is not a structure type.
"bt_boost_test.cpp", line 93: Error: The operation "iterator ==
boost::multi_index::detail::hashed_index_iterator>,
boost::multi_index::detail::bucket_array, mpl_::na>" is illegal.
10 Error(s) detected.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1063>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:55 UTC