Boost logo

Boost Users :

From: Christian Henning (chhenning_at_[hidden])
Date: 2007-03-15 10:38:07


Hi there, I'm using VC7.1 and I try to compile the fill_em_up example
I found in the cookbook example folder. Unfortunately the it doesn't
compile. I have updated my boost to the latest CVS version. Here are
the error messages:

c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2039: 'category' : is not a member of
'boost::mpl::fusion_iterator<Iterator>'

  ......

c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2146: syntax error : missing ',' before identifier 'category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2065: 'category' : undeclared identifier
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2976: 'boost::fusion::detail::mpl_iterator_category' : too few
template arguments
        c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2955: 'boost::fusion::detail::mpl_iterator_category' : use of
class template requires template argument list
        c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2955: 'boost::fusion::detail::mpl_iterator_category' : use of
class template requires template argument list
        c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2027: use of undefined type
'boost::fusion::detail::mpl_iterator_category'
        c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(33) :
error C2146: syntax error : missing ';' before identifier 'category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(33) :
error C2501: 'boost::fusion::mpl_iterator<Iterator>::category' :
missing storage-class or type specifiers
        with
        [
            Iterator=boost::fusion::extension::begin_impl<boost::fusion::mpl_sequence_tag>::apply<const
boost::mpl::iterator_range<mpl_r_advance,mpl_r_end>>::iterator
        ]
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2039: 'category' : is not a member of
'boost::mpl::fusion_iterator<Iterator>'
        with
        [
            Iterator=boost::fusion::extension::next_impl<boost::fusion::vector_iterator_tag>::apply<r_advance>::type
        ]
        c:\boost\boost\fusion\sequence\container\vector\detail\vector_n.hpp(68)
: see reference to class template instantiation
'boost::fusion::mpl_iterator<Iterator>' being compiled
        with
        [
            Iterator=boost::mpl::next<boost::fusion::mpl_iterator<boost::fusion::extension::begin_impl<boost::fusion::mpl_sequence_tag>::apply<const
boost::mpl::iterator_range<mpl_r_advance,mpl_r_end>>::iterator>::iterator_type>::type
        ]
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2146: syntax error : missing ',' before identifier 'category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C3861: 'category': identifier not found, even with
argument-dependent lookup
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2976: 'boost::fusion::detail::mpl_iterator_category' : too few
template arguments
        c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2955: 'boost::fusion::detail::mpl_iterator_category' : use of
class template requires template argument list
        c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2955: 'boost::fusion::detail::mpl_iterator_category' : use of
class template requires template argument list
        c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2027: use of undefined type
'boost::fusion::detail::mpl_iterator_category'
        c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(33) :
error C2146: syntax error : missing ';' before identifier 'category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(33) :
error C2501: 'boost::fusion::mpl_iterator<Iterator>::category' :
missing storage-class or type specifiers
        with
        [
            Iterator=boost::mpl::next<boost::fusion::mpl_iterator<boost::fusion::extension::begin_impl<boost::fusion::mpl_sequence_tag>::apply<const
boost::mpl::iterator_range<mpl_r_advance,mpl_r_end>>::iterator>::iterator_type>::type
        ]

Is that a know problem?

Thanks,
Christian


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