
Hi, I am trying to build boost for vc7-stlport (stlport version 4.6.2) and I get most libraries to compile but when compiling the date_time library I get errors like the following: C:\wspace\dev\ssdk\ssdk\stlport\src\stlport\stl\_iterator_base.h(98) : error C2825: '_Iterator::iterator_category': cannot form a qualified name C:\wspace\dev\ssdk\ssdk\boost\src\boost\date_time\date_parsing.hpp(252) : see reference to class template instantiation '_STL::iterator_traits<_Iterator>' being compiled with [ _Iterator=_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char>>::iterator ] C:\wspace\dev\ssdk\ssdk\boost\src\boost\date_time\gregorian\parsers.hpp(73) : see reference to function template instantiation 'boost::date_time::period<point_rep,duration_rep> boost::date_time::from_simple_string_type<boost::gregorian::date,char>(const _STL::basic_string<_CharT,_Traits,_Alloc> &)' being compiled with [ point_rep=boost::gregorian::date, duration_rep=boost::gregorian::date_duration, _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ] C:\wspace\dev\ssdk\ssdk\stlport\src\stlport\stl\_iterator_base.h(98) : error C2039: 'iterator_category' : is not a member of 'operator``global namespace''' C:\wspace\dev\ssdk\ssdk\stlport\src\stlport\stl\_iterator_base.h(98) : fatal error C1507: previous user errors and subsequent error recovery halt further compilation I know it has to do with a compiler deficiency but how can I fix it? /Johannes