
boost-users: Here is a new user's letter for help: when i compile the whole boost(version_1_32_0), it show some error of data_time. the file greg_month.cpp failed. in the lexical_cast.hpp,line 126 string_type s(boost::lexical_cast<string_type>("not-a-date-time")); the compiler said : binary '>>' : no operator found which takes a right-hand operand of type_put<Config,charT,OutputIterator>::string_type' (or there is no acceptable conversion) When tracing down the error message, I found that [[date_names_put::string_type]] actually means [[std::basic_string<charT>]] and in file lexical_cast.hpp line 146 -- 168 there are right overload of operator>>. Why the compiler complain about can't find the wellformed operator? My Compiler is msvc71 and STLport-5.0-0125 was installed with it's own iostream. the cmdline is bjam "-sVC71_ROOT=D:\Program Files\Microsoft\Microsoft Visual Studio .NET 2003\Vc7" "-sSTLPORT_PATH=D:\Program Files\Programming_Tools\STLport-5.0-0125\stlport" "-sSTLPORT_5.0-0125_PATH=D:\Program Files\Programming_Tools\STLport-5.0-0125" "-sSTLPORT_VERSIONS=5.0-0125" "-sTOOLS=vc-7_1-stlport" "--prefix=D:\Program Files\Programming_Tools\Boost_1_32" install --with-date_time this problem has killed so many brain cells of mine ! zhengyi goodmen@x263.net 2004-12-08