Boost logo

Boost Users :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2007-06-21 08:54:46


Benson Margulies ha escrito:

> 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<...>::index_base(const boost::tuples::null_type,
> const int) to initialize base class.

[...]

Just a shot in the dark: maybe using -template=no%extdef will do?

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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