Boost logo

Boost Users :

From: John Eddy (johneddy_at_[hidden])
Date: 2005-01-27 19:28:53


Hello,

I just started using the date-time library and it is a great library.
There are a few warnings that I have noticed so far that could be
avoided with some explicit casts. I am using VC .NET 2003.

Here are the ones I've noticed so far:

in microsec_time_clock.hpp on line 102 which reads:
boost::uint32_t sub_sec = (filetime % 10000000) / 10; // microseconds

same file, line 118 which reads:
int adjust = resolution_traits_type::res_adjust()/1000000;

in time_system_counted.hpp on line 57 which reads:
typename calendar_type::date_int_type dc = day_count();

in date_parsing.hpp on line 211 which reads:
ss << ss.narrow(*beg++, 'X'); // 'X' will cause exception to be thrown

Thanks,
John


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