Re: [Boost-bugs] [Boost C++ Libraries] #7547: time_point<system_clock> input version 2 fails to compile

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7547: time_point<system_clock> input version 2 fails to compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-18 21:11:04


#7547: time_point<system_clock> input version 2 fails to compile
---------------------------+------------------------------------------------
  Reporter: viboes | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: Boost 1.53.0 | Component: chrono
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------
Changes (by viboes):

  * milestone: To Be Determined => Boost 1.53.0

Comment:

 Rolled back after fixing.


 {{{
 svn diff boost/chrono
 Index: boost/chrono/config.hpp
 ===================================================================
 --- boost/chrono/config.hpp (revision 82527)
 +++ boost/chrono/config.hpp (working copy)
 @@ -28,7 +28,7 @@
  #if ! defined BOOST_CHRONO_PROVIDES_DATE_IO_FOR_SYSTEM_CLOCK_TIME_POINT \
      && ! defined
 BOOST_CHRONO_DONT_PROVIDE_DATE_IO_FOR_SYSTEM_CLOCK_TIME_POINT

 -# define BOOST_CHRONO_DONT_PROVIDE_DATE_IO_FOR_SYSTEM_CLOCK_TIME_POINT
 +# define BOOST_CHRONO_PROVIDES_DATE_IO_FOR_SYSTEM_CLOCK_TIME_POINT

  #endif

 Index: boost/chrono/io/time_point_io.hpp
 ===================================================================
 --- boost/chrono/io/time_point_io.hpp (revision 82527)
 +++ boost/chrono/io/time_point_io.hpp (working copy)
 @@ -936,6 +936,7 @@
              { '%', 'Y', '-', '%', 'm', '-', '%', 'd', ' ', '%', 'H', ':',
 '%', 'M', ':' };
              pb = pattern;
              pe = pb + sizeof (pattern) / sizeof(CharT);
 + tm.tm_sec=0;
  #if defined BOOST_CHRONO_USES_INTERNAL_TIME_GET
              const detail::time_get<CharT>& dtg(tg);
              dtg.get(is, 0, is, err, &tm, pb, pe);
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7547#comment:8>
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