Subject: [Boost-bugs] [Boost C++ Libraries] #7937: local_time_types.hpp tries to typedef local_microsec_clock on system without BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-28 12:24:40
#7937: local_time_types.hpp tries to typedef local_microsec_clock on system
without BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK
--------------------------------------------------------------------------------+
Reporter: p.brockamp@⦠| Owner: az_sw_dude
Type: Bugs | Status: new
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 |
--------------------------------------------------------------------------------+
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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7937> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC