Boost logo

Boost Users :

From: Benson Margulies (bim2007_at_[hidden])
Date: 2007-06-21 08:26:28


I now have my story straight with respect to the compiler versions.

With the latest compiler, I still cannot get a multi-index case to work.

The error is considerably smaller than with the old compiler. (Not much
joy there.)

I was fooled because, if I instantiate the indexed object inside a class
method, the compiler doesn't actually get around to finishing the
compilation process until link time. So I had the appearance of a
successful compile.

I'm willing to spend some time trying to find a way to work around
whatever it is in boost if the whomever last wrestled with this compiler
would give me something to start from. It would also be reassuring if
the bjam configuration problem I reported were to be patched.

+ /studio11/SUNWspro/bin/CC -c -DDEBUG -D_STL=std
-I./../rlp/utilities/include -I./../third-party-tools/boost -KPIC -mt -w
-g bloop1.cpp
"./../third-party-tools/boost/boost/multi_index/hashed_index.hpp", line
539: Error: Could not find
boost::multi_index::detail::index_base<employee,
boost::multi_index::indexed_by<boost::multi_index::hashed_unique<boost::
multi_index::tag<name, 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>,
boost::multi_index::member<employee, std::string, 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<employee>>::index_base(const boost::tuples::null_type,
const int) to initialize base class.
"./../third-party-tools/boost/boost/multi_index_container.hpp", line
186: Where: While instantiating
"boost::multi_index::detail::hashed_index<boost::multi_index::member<emp
loyee, std::string, 5>, ustring_hasher, std::equal_to<std::string>,
boost::multi_index::detail::nth_layer<1, employee,
boost::multi_index::indexed_by<boost::multi_index::hashed_unique<boost::
multi_index::tag<name, 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>,
boost::multi_index::member<employee, std::string, 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<employee>>, boost::mpl::vector1<name>,
boost::multi_index::detail::hashed_unique_tag>::hashed_index(const
boost::tuples::cons<boost::tuples::tuple<unsigned,
boost::multi_index::member<employee, std::string, 5>, ustring_hasher,
std::equal_to<std::string>, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type>, boost::tuples::null_type>&, const int&)".
"./../third-party-tools/boost/boost/multi_index_container.hpp", line
186: Where: Instantiated from non-template code.
1 Error(s) detected.




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net