Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-01-08 06:32:47


Recent changes to the iterator library have broken date_time with msvc 6:

greg_month.cpp
C:\boost\site\boost/iterator/detail/minimum_category.hpp(68) : error C2504:
'error_not_related_by_convertibility<struct
boost::forward_traversal_tag,int>' : base class undefined
        C:\boost\site\boost/iterator/detail/minimum_category.hpp(81) : see
reference to class template instantiation
'boost::detail::minimum_category_impl<0,0>::apply<struct
boost::forward_traversal_tag,int>' being compiled
        C:\boost\site\boost/token_iterator.hpp(40) : see reference to class
template instantiation 'boost::detail::minimum_category<struct
boost::forward_traversal_tag,int>' being compiled
        C:\boost\site\boost/token_iterator.hpp(105) : see reference to class
template instantiation 'boost::token_iterator<TokenizerFunc,Iterator,Type>'
being compiled
C:\boost\site\boost/iterator/detail/minimum_category.hpp(81) : error C2039:
'type' : is not a member of 'apply<struct boost::forward_traversal_tag,int>'
        C:\boost\site\boost/token_iterator.hpp(40) : see reference to class
template instantiation 'boost::detail::minimum_category<struct
boost::forward_traversal_tag,int>' being compiled
        C:\boost\site\boost/token_iterator.hpp(105) : see reference to class
template instantiation 'boost::token_iterator<TokenizerFunc,Iterator,Type>'
being compiled

    CALL "D:\Program Files\Microsoft Visual Studio\VC98\bin\VCVARS32.BAT"
>nul
    "D:\Program Files\Microsoft Visual Studio\VC98\bin\cl"

/Zm800 -nologo -GX -c -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_DATE_
TIME_STATIC_LINK /Z7 /Od /Ob0 /GX /GR
Dd -I"d:\boost-regr\bin\boost\libs\date_time\build" -I"C:\boost\site" -
Fo"d:\boost-regr\bin\boost\libs\date_time\build\libboost_date_time.lib\msvc\
debug\greg_month.obj" -Tp"C:\boost\site\libs\date_time\build\../src/gregori
an/greg_month.cpp"

Everything is fine with vc7 and later however...

John.


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