|
Boost Users : |
From: Jeff Garland (jeff_at_[hidden])
Date: 2003-03-21 07:55:26
> I am trying new 1.30.0 release and got couple of problems on MSVC6
> SP5.
>
> First of all, compiling
>
> #include <boost/date_time/gregorian/gregorian.hpp>
> int main()
> {
> boost::gregorian::from_string( "" );
> return 0;
> }
>
> yields warning:
>
>
> I:\SW\EXTERNAL\BOOST_1_30_0\boost/lexical_cast.hpp(147) : warning
> C4800: 'void *' : forcing value to bool 'true' or 'false'
> (performance warning)
> I:\SW\EXTERNAL\BOOST_1_30_0\boost/lexical_cast.hpp(146) :
> while compiling class-template member function 'bool __thiscall
> boost::detail::lexical_stream<int,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> > &)'
I'm not sure what this would do on 1.29 b/c there have been
lots of changes to lexical_cast. Of course I'm assuming this
is an 'example' because with a blank string your program will core
dump with an unhandled exception that occurs when it tries to
construct a date from a blank string.
Jeff
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