Opened 10 years ago
#7937 new Bugs
local_time_types.hpp tries to typedef local_microsec_clock on system without BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK
Reported by: | Owned by: | az_sw_dude | |
---|---|---|---|
Milestone: | To Be Determined | Component: | date_time |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK date_time local_sec_clock | Cc: |
Description
On platforms that don't define
BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK
(e.g. due to a missing gettimeofday()), in file local_time_types.hpp date_time tries to
typedef date_time::second_clock<local_date_time> local_sec_clock
This obvioulsy results in a compile error on such systems. This typedef should be embraced by an
#ifdef BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK
A patch is attached.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Patch for bug in local_time_types.hpp