Boost String Algorithms Library Questions
Hi, I am using boost 1.32 with msvc 6. When I run the string example in the package, I keep getting this kind of errors: boost.cpp C:\dev\RWREPL~1\YUKON-~1\boost_1_32_0\boost/algorithm/string/yes_no_type.hpp(22) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal C:\dev\RWREPL~1\YUKON-~1\boost_1_32_0\boost/algorithm/string/yes_no_type.hpp(23) : see reference to class template instantiation 'boost::algorithm::size_descriptor<I>' being compiled C:\dev\RWREPL~1\YUKON-~1\boost_1_32_0\boost/algorithm/string/detail/collection_traits.hpp(312) : error C2039: 'value_type' : is not a member of '`global namespace'' C:\dev\RWREPL~1\YUKON-~1\boost_1_32_0\boost/algorithm/string/detail/collection_traits.hpp(323) : see reference to class template instantiation 'detail::array_traits<T>' being compiled C:\dev\RWREPL~1\YUKON-~1\boost_1_32_0\boost/algorithm/string/detail/collection_traits.hpp(312) : error C2146: syntax error : missing ';' before identifier 'value_type' C:\dev\RWREPL~1\YUKON-~1\boost_1_32_0\boost/algorithm/string/detail/collection_traits.hpp(323) : see reference to class template instantiation 'detail::array_traits<T>' being compiled C:\dev\RWREPL~1\YUKON-~1\boost_1_32_0\boost/algorithm/string/detail/collection_traits.hpp(312) : error C2868: 'value_type' : illegal syntax for using-declaration; expected qualified-name C:\dev\RWREPL~1\YUKON-~1\boost_1_32_0\boost/algorithm/string/detail/collection_traits.hpp(323) : see reference to class template instantiation 'detail::array_traits<T>' being compiled C:\dev\RWREPL~1\YUKON-~1\boost_1_32_0\boost/algorithm/string/detail/collection_traits.hpp(314) : error C2039: 'iterator' : is not a member of '`global namespace'' C:\dev\RWREPL~1\YUKON-~1\boost_1_32_0\boost/algorithm/string/detail/collection_traits.hpp(323) : see reference to class template instantiation 'detail::array_traits<T>' being compiled C:\dev\RWREPL~1\YUKON-~1\boost_1_32_0\boost/algorithm/string/detail/collection_traits.hpp(314) : error C2146: syntax error : missing ';' before identifier 'iterator' ............... Could anybody tell me what the problem is? BTW, I have no problem using the date time lib. Thanks a lot! J.L
The String Algorithms library isn't available for VC6
"J Liu"
Hi,
I am using boost 1.32 with msvc 6. When I run the string example in the package, I keep getting this kind of errors:> Could anybody tell me what the problem is? BTW, I have no problem using the date time lib.
Thanks a lot! J.L
participants (2)
-
J Liu
-
Pablo Aguilar