Boost logo

Boost :

From: Bronek Kozicki (brok_at_[hidden])
Date: 2003-12-17 06:23:47


I have two errors while building boost on MSVC71 (toolset vc7.1).
Apparently boost::filesystem::directory_iterator should have member
functions "decrement" and "advance", but these functions do not exist,
at least on my platform.

C:\WINGNU\msys\1.0\home\Bronislaw\boost\boost\boost\iterator\iterator_facade.hpp(294) : error C2039: 'decrement' : is not a member of 'boost::filesystem::directory_iterator'
        C:\WINGNU\msys\1.0\home\Bronislaw\boost\boost\boost\filesystem\operations.hpp(80) : see declaration of 'boost::filesystem::directory_iterator'
        C:\WINGNU\msys\1.0\home\Bronislaw\boost\boost\boost\iterator\iterator_facade.hpp(414) : see reference to function template instantiation 'void boost::iterator_core_access::decrement<Derived>(Facade &)' being compiled
        with
        [
            Derived=boost::filesystem::directory_iterator,
            Facade=boost::filesystem::directory_iterator
        ]
        C:\WINGNU\msys\1.0\home\Bronislaw\boost\boost\boost\iterator\iterator_facade.hpp(413) : while compiling class-template member function 'boost::filesystem::directory_iterator &boost::iterator_facade<Derived,Value,CategoryOrTraversal>::operator --(void)'
        with
        [
            Derived=boost::filesystem::directory_iterator,
            Value=boost::filesystem::path,
            CategoryOrTraversal=boost::single_pass_traversal_tag
        ]
        C:\WINGNU\msys\1.0\home\Bronislaw\boost\boost\boost\filesystem\operations.hpp(84) : see reference to class template instantiation 'boost::iterator_facade<Derived,Value,CategoryOrTraversal>' being compiled
        with
        [
            Derived=boost::filesystem::directory_iterator,
            Value=boost::filesystem::path,
            CategoryOrTraversal=boost::single_pass_traversal_tag
        ]

C:\WINGNU\msys\1.0\home\Bronislaw\boost\boost\boost\iterator\iterator_facade.hpp(306) : error C2039: 'advance' : is not a member of 'boost::filesystem::directory_iterator'
        C:\WINGNU\msys\1.0\home\Bronislaw\boost\boost\boost\filesystem\operations.hpp(80) : see declaration of 'boost::filesystem::directory_iterator'
        C:\WINGNU\msys\1.0\home\Bronislaw\boost\boost\boost\iterator\iterator_facade.hpp(427) : see reference to function template instantiation 'void boost::iterator_core_access::advance<Derived>(Facade &,boost::iterator_facade<Derived,Value,CategoryOrTraversal>::difference_type)' being compiled
        with
        [
            Derived=boost::filesystem::directory_iterator,
            Facade=boost::filesystem::directory_iterator,
            Value=boost::filesystem::path,
            CategoryOrTraversal=boost::single_pass_traversal_tag
        ]
        C:\WINGNU\msys\1.0\home\Bronislaw\boost\boost\boost\iterator\iterator_facade.hpp(426) : while compiling class-template member function 'boost::filesystem::directory_iterator &boost::iterator_facade<Derived,Value,CategoryOrTraversal>::operator +=(boost::iterator_facade<Derived,Value,CategoryOrTraversal>::difference_type)'
        with
        [
            Derived=boost::filesystem::directory_iterator,
            Value=boost::filesystem::path,
            CategoryOrTraversal=boost::single_pass_traversal_tag
        ]

Kind regards

B.


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