28 Jan
2005
28 Jan
'05
12:28 a.m.
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