question generated by serialization library build on Visual Age C++

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? 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> >". "/home/tk/boost_regression/boost/boost/iterator/iterator_adaptor.hpp", line 148.12: 1540-0700 (I) The previous message was produced while processing "struct boost::detail::ia_dflt_help<boost::use_default,boost::iterator_difference<co nst char *> >". "/home/tk/boost_regression/boost/boost/iterator/iterator_adaptor.hpp", line 167.12: 1540-0700 (I) The previous message was produced while processing "struct boost::detail::iterator_adaptor_base<boost::archive::iterators::transform_wi dth<const char *,6,8,char>,const char *,char,boost::single_pass_traversal_tag,char,boost::use_default>". "/home/tk/boost_regression/boost/boost/iterator/iterator_adaptor.hpp", line 243.9: 1540-0700 (I) The previous message was produced while processing "class boost::iterator_adaptor<boost::archive::iterators::transform_width<const char *,6,8,char>,const char *,char,boost::single_pass_traversal_tag,char,boost::use_default>". "/home/tk/boost_regression/boost/boost/archive/iterators/transform_width.hpp ", line 46.7: 1540-0700 (I) The previous message was produced while processing "class boost::archive::iterators::transform_width<const char *,6,8,char>".

"Robert Ramey" <ramey@rrsd.com> 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
participants (2)
-
David Abrahams
-
Robert Ramey