Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3608: run time warning in vc9 when parsing ptime (with patch)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-12-27 15:33:08
#3608: run time warning in vc9 when parsing ptime (with patch)
---------------------------+--------------------------------
Reporter: anonymous | Owner: James E. King, III
Type: Bugs | Status: closed
Milestone: Boost 1.41.0 | Component: date_time
Version: Boost 1.40.0 | Severity: Problem
Resolution: worksforme | Keywords:
---------------------------+--------------------------------
Changes (by James E. King, III):
* status: new => closed
* resolution: => worksforme
Comment:
As of 1.66.0 I cannot reproduce this issue.
I added this test to testtime_input_facet.cpp (at the end):
{{{
// trac-3608 (https://svn.boost.org/trac10/ticket/3608)
{
const std::string value = "20090101";
boost::posix_time::time_input_facet* facet5 = new
boost::posix_time::time_input_facet("%Y-%m-%dT%H:%M:%S%F");
boost::posix_time::ptime ptx;
check("trac 3608 /RTC no failbit set", !failure_test(ptx, value,
facet5)); // proves failbit was not set
check_equal("trac 3608 /RTC valid value", "2009-10-01T00:00:00",
to_iso_extended_string(ptx));
}
}}}
Built with -RTC1 and msvc-14.1 and no errors reported.
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/3608#comment:2> 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-12-27 15:46:25 UTC