Re: [Boost-bugs] [Boost C++ Libraries] #3487: using 32bit seconds type in boost::posix_time::time_duration is leading to year 2038 problem

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3487: using 32bit seconds type in boost::posix_time::time_duration is leading to year 2038 problem
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-13 14:20:47


#3487: using 32bit seconds type in boost::posix_time::time_duration is leading to
year 2038 problem
------------------------------------------------------+---------------------
  Reporter: Meike Schmidt <mschmidt.trittau@…> | Owner: az_sw_dude
      Type: Bugs | Status: new
 Milestone: Boost 1.46.0 | Component: date_time
   Version: Boost 1.46.0 | Severity: Showstopper
Resolution: | Keywords:
------------------------------------------------------+---------------------

Comment (by dopiera@…):

 This also makes it impossible to use condition::timed_wait(lock_type&
 m,boost::xtime const& wait_until).

 The conversion to time_duration causes an overflow. Apart from that, I've
 noticed that xtime_get() and xtime_cmp() are broken too (return int).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3487#comment:3>
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:09 UTC