$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: J Liu (johnny_spring_at_[hidden])
Date: 2005-06-20 12:01:38
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