Good day everyone,
i'm using the boost::date_time::posix_time libarary in my application.
When ever i compile i get lots of warning. mostly its about not being
able to generate copy constructors from the lexical_cast lbrary and a
whole lot of "C4127 conditional experssion is constant.
OS: windows 2000 server
Compiler: MSVC 7.1
is this normal or am i missing something here? the boost lib was
compiled with the msvc_71 toolset.
D:\boost_1_33_0\boost\lexical_cast.hpp(191) : warning C4511:
'boost::detail::lexical_stream' : copy constructor
could not be generated
with
[
Target=short,
Source=NewSource
]
D:\boost_1_33_0\boost\lexical_cast.hpp(218) : see reference to
class template instantiation
'boost::detail::lexical_stream' being compiled
with
[
Target=short,
Source=NewSource
]
D:\boost_1_33_0\boost\date_time\time_parsing.hpp(201) : see
reference to function template instantiation 'Target
boost::lexical_cast(const Source &)' being compiled
with
[
Target=short,
Type=std::string,
Source=std::string
]
D:\boost_1_33_0\boost\date_time\time_parsing.hpp(275) : see
reference to function template instantiation 'time_duration
boost::date_time::parse_undelimited_time_duration(const
std::string &)' being compiled
with
[
time_duration=time_duration
]
D:\boost_1_33_0\boost\date_time\posix_time\time_parsers.hpp(35)
: see reference to function template instantiation 'time_type
boost::date_time::parse_iso_timeboost::posix_time::ptime(const
std::string &,char)' being compiled
with
[
time_type=boost::posix_time::ptime
]
D:\boost_1_33_0\boost\lexical_cast.hpp(191) : warning C4512:
'boost::detail::lexical_stream' : assignment operator
could not be generated
with
[
Target=short,
Source=NewSource
]
D:\boost_1_33_0\boost\lexical_cast.hpp(137) : warning C4127:
conditional expression is constant
D:\boost_1_33_0\boost\lexical_cast.hpp(133) : while compiling
class-template member function
'boost::detail::lexical_stream::lexical_stream(void)'
with
[
Target=short,
Source=NewSource
]
D:\boost_1_33_0\boost\lexical_cast.hpp(218) : see reference to
class template instantiation
'boost::detail::lexical_stream' being compiled
with
[
Target=short,
Source=NewSource
]
D:\boost_1_33_0\boost\date_time\time_parsing.hpp(201) : see
reference to function template instantiation 'Target
boost::lexical_cast(const Source &)' being compiled
with
[
Target=short,
Type=std::string,
Source=std::string
]
D:\boost_1_33_0\boost\lexical_cast.hpp(139) : warning C4127:
conditional expression is constant
cheers.