|
Boost : |
From: John Swartzentruber (johnslists_at_[hidden])
Date: 2003-03-21 13:32:44
I downloaded 1.30.0 and tried to build my project. I got a few errors
that seem to be in boost, primarily in lexical_cast. Also,
weak_ptr.hpp uses bad_weak_ptr without including
boost/detail/shared_count.hpp anywhere. I can fix that by
including it in my code.
These are the warnings in lexical_cast.hpp. Because I treat
warnings as errors, these pretty much keep me from using this
version of boost.
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(74) : warning C4512: 'no_lexical_conversion<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,long>' : assignment operator could not be generated
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(193) : see reference to class template instantiation 'boost::detail::no_lexical_conversion<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,long>' being compiled
N:\Source\FontSetupUI.cpp(232) : see reference to function template instantiation 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl boost::lexical_cast(long)' being compiled
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(74) : warning C4512: 'no_lexical_conversion<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double>' : assignment operator could not be generated
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(193) : see reference to class template instantiation 'boost::detail::no_lexical_conversion<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double>' being compiled
N:\Source\FontSetupUI.cpp(410) : see reference to function template instantiation 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl boost::lexical_cast(double)' being compiled
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(74) : warning C4512: 'no_lexical_conversion<double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >' : assignment operator could not be generated
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(193) : see reference to class template instantiation 'boost::detail::no_lexical_conversion<double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >' being compiled
N:\Source\FontSetupUI.cpp(500) : see reference to function template instantiation 'double __cdecl boost::lexical_cast(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)' being compiled
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(147) : warning C4800: 'void *' : forcing value to bool 'true' or 'false' (performance warning)
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(146) : while compiling class-template member function 'bool __thiscall boost::detail::lexical_stream<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,long>::operator <<(const long &)'
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(147) : warning C4800: 'void *' : forcing value to bool 'true' or 'false' (performance warning)
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(146) : while compiling class-template member function 'bool __thiscall boost::detail::lexical_stream<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double>::operator <<(const double &)'
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(147) : warning C4800: 'void *' : forcing value to bool 'true' or 'false' (performance warning)
C:\Program Files\Boost\boost_1_30_0\boost/lexical_cast.hpp(146) : while compiling class-template member function 'bool __thiscall boost::detail::lexical_stream<double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::operator <<(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)'
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk