Boost logo

Boost Users :

From: Pramod Sharma (pramodsharma08_at_[hidden])
Date: 2008-05-12 01:06:27


Hi,
I am trying to compile boost 1.32 with Visual Studio 2005 and serialization
library is not getting compiled because of compilation issues.
I tried to search it at lot of places with no luck.
Can anyone please help me on this ?
I am attaching my logfile with this.
Thanks in advance,
Pramod

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
xml_grammar.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(2674) :
warning C4996: 'std::_Equal' was declared deprecated
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(2661)
: see declaration of 'std::_Equal'
        Message: 'You have used a std:: construct that is not safe. See
documentation on how to use the Safe Standard C++ Library'
        d:\work\boost-1.32\boost\boost_1_32_0\libs\serialization\src\basic_xml_grammar.ipp(414)
: see reference to function template instantiation 'bool
std::equal<std::_String_iterator<_Elem,_Traits,_Alloc>,const
char*>(_InIt1,_InIt1,_InIt2)' being compiled
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>,
            _InIt1=std::_String_iterator<char,std::char_traits<char>,std::allocator<char>>,
            _InIt2=const char *
        ]
        d:\work\boost-1.32\boost\boost_1_32_0\libs\serialization\src\basic_xml_grammar.ipp(400)
: while compiling class template member function 'void
boost::archive::basic_xml_grammar<CharType>::init(std::basic_istream<_Elem,_Traits>
&)'
        with
        [
            CharType=char,
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        D:\work\BOOST-1.32\boost\boost_1_32_0\libs\serialization\build\../src/xml_grammar.cpp(50)
: see reference to class template instantiation
'boost::archive::basic_xml_grammar<CharType>' being compiled
        with
        [
            CharType=char
        ]
*C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(290) : error
C2664: 'bool
boost::spirit::utility::impl::range_char_compare<CharT>::operator ()(const
CharT,const boost::spirit::utility::impl::range<CharT> &) const' : cannot
convert parameter 1 from 'const boost::spirit::utility::impl::range<CharT>'
to 'const wchar_t'
        with
        [
            CharT=wchar_t
        ]
        No user-defined-conversion operator available that can perform this
conversion, or the operator cannot be called
* C:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE\xutility(1469) : see reference to function template
instantiation 'bool
std::_Debug_lt_pred<_Pr,boost::spirit::utility::impl::range<CharT>,boost::spirit::utility::impl::range<CharT>>(_Pr,const
_Ty1 &,const _Ty2 &,const wchar_t *,unsigned int)' being compiled
        with
        [
            _Pr=boost::spirit::utility::impl::range_char_compare<wchar_t>,
            CharT=wchar_t,
            _Ty1=boost::spirit::utility::impl::range<wchar_t>,
            _Ty2=boost::spirit::utility::impl::range<wchar_t>
        ]
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1479)
: see reference to function template instantiation 'void
std::_Debug_order_single2<_InIt,_Pr>(_FwdIt,_FwdIt,_Pr,bool,const wchar_t
*,unsigned int,std::forward_iterator_tag)' being compiled
        with
        [
            _InIt=std::_Vector_const_iterator<boost::spirit::utility::impl::range<wchar_t>,std::allocator<boost::spirit::utility::impl::range<wchar_t>>>,
            _Pr=boost::spirit::utility::impl::range_char_compare<wchar_t>,
            _FwdIt=std::_Vector_const_iterator<boost::spirit::utility::impl::range<wchar_t>,std::allocator<boost::spirit::utility::impl::range<wchar_t>>>
        ]
        C:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE\algorithm(2018) : see reference to function template
instantiation 'void
std::_Debug_order_single<_FwdIt,_Pr>(_InIt,_InIt,_Pr,bool,const wchar_t
*,unsigned int)' being compiled
        with
        [
            _FwdIt=std::_Vector_const_iterator<boost::spirit::utility::impl::range<wchar_t>,std::allocator<boost::spirit::utility::impl::range<wchar_t>>>,
            _Pr=boost::spirit::utility::impl::range_char_compare<wchar_t>,
            _InIt=std::_Vector_const_iterator<boost::spirit::utility::impl::range<wchar_t>,std::allocator<boost::spirit::utility::impl::range<wchar_t>>>
        ]
        C:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE\algorithm(2042) : see reference to function template
instantiation '_FwdIt
std::_Lower_bound<std::_Vector_const_iterator<_Ty,_Alloc>,wchar_t,__w64
int,_Pr>(_FwdIt,_FwdIt,const wchar_t &,_Pr,_Diff *)' being compiled
        with
        [
            _FwdIt=std::_Vector_const_iterator<boost::spirit::utility::impl::range<wchar_t>,std::allocator<boost::spirit::utility::impl::range<wchar_t>>>,
            _Ty=boost::spirit::utility::impl::range<wchar_t>,
            _Alloc=std::allocator<boost::spirit::utility::impl::range<wchar_t>>,
            _Pr=boost::spirit::utility::impl::range_char_compare<wchar_t>,
            _Diff=__w64 int
        ]
        D:\work\BOOST-1.32\boost\boost_1_32_0\boost/spirit/utility/impl/chset/range_run.ipp(88)
: see reference to function template instantiation '_FwdIt
std::lower_bound<std::_Vector_const_iterator<_Ty,_Alloc>,CharT,boost::spirit::utility::impl::range_char_compare<CharT>>(_FwdIt,_FwdIt,const
wchar_t &,_Pr)' being compiled
        with
        [
            _FwdIt=std::_Vector_const_iterator<boost::spirit::utility::impl::range<wchar_t>,std::allocator<boost::spirit::utility::impl::range<wchar_t>>>,
            _Ty=boost::spirit::utility::impl::range<wchar_t>,
            _Alloc=std::allocator<boost::spirit::utility::impl::range<wchar_t>>,
            CharT=wchar_t,
            _Pr=boost::spirit::utility::impl::range_char_compare<wchar_t>
        ]
        D:\work\BOOST-1.32\boost\boost_1_32_0\boost/spirit/utility/impl/chset/range_run.ipp(81)
: while compiling class template member function 'bool
boost::spirit::utility::impl::range_run<CharT>::test(CharT) const'
        with
        [
            CharT=wchar_t
        ]
        D:\work\BOOST-1.32\boost\boost_1_32_0\boost/spirit/utility/impl/chset/basic_chset.ipp(37)
: while compiling class template member function 'bool
boost::spirit::basic_chset<CharT>::test(CharT) const'
        with





Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net