Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-07-14 14:41:49


"Robert Ramey" <ramey_at_[hidden]> writes:

> I'm getting a problem with serialization library build on IBM Visual Age
> compiler.
>
> It report that boost::iterator_difference<const char *> isn't complete. In
> perusing the code, it would seem to me that iterator_adaptor is including
> all it needs to resolve this and FWIW it works everywhere else. Can anyone
> give me a suggestion here?

Try building with "-sBUILD=<define>BOOST_MPL_USE_APPLY_INTERNALLY"
and let us know what happens.

> Robert Ramey
>
>
> "/home/tk/boost_regression/boost/boost/mpl/apply_if.hpp", line 39.5:
> 1540-0062 (S) The incomplete class "iterator_difference<const char *>" must
> not be used as a qualifier.
> "/home/tk/boost_regression/boost/boost/iterator/iterator_adaptor.hpp", line
> 149.14: 1540-0700 (I) The previous message was produced while processing
> "struct
> boost::mpl::apply_if<boost::is_same<boost::use_default,boost::use_default>,b
> oost::iterator_difference<const char
> *>,boost::mpl::identity<boost::use_default> >".

<schnipp>

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk