[date_time] Warnings in VC8

Hi, I am getting a few "possible loss of data" warnings while using the datetime library. For example, VC8 complains about the following code in microsec_clock.hpp: boost::uint64_t filetime = ... ... boost::uint32_t sub_sec = (filetime % 10000000) / 10; // microseconds The compiler also complains about similar issue in from_ftime. Is this a known issue? Regards, Arkadiy

Arkadiy Vertleyb wrote:
Hi,
I am getting a few "possible loss of data" warnings while using the datetime library. For example, VC8 complains about the following code in microsec_clock.hpp:
boost::uint64_t filetime = ... ... boost::uint32_t sub_sec = (filetime % 10000000) / 10; // microseconds
The compiler also complains about similar issue in from_ftime.
Is this a known issue?
Yes..this has already been fixed for 1.34. Jeff
participants (2)
-
Arkadiy Vertleyb
-
Jeff Garland