Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8328: chrono crashes visual studio regression tests
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-23 16:44:43
#8328: chrono crashes visual studio regression tests
----------------------------------------------+-----------------------------
Reporter: Thomas Kent <teeks99@â¦> | Owner: viboes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: chrono
Version: Boost Development Trunk | Severity: Regression
Resolution: | Keywords: io_ex
----------------------------------------------+-----------------------------
Comment (by viboes):
From the regression test I see that there is error for MSVC 11, but it
works for MSVC 10. Unfortunately I have not installed MSVC 11.
Anyway as the trace show there is an error on the test Jamfile as even if
the test is named v1_ it is using version 2. See the patch below.
{{{
Index: Jamfile.v2
===================================================================
--- Jamfile.v2 (revision 83520)
+++ Jamfile.v2 (working copy)
@@ -110,7 +110,7 @@
: <define>BOOST_CHRONO_HEADER_ONLY
<define>BOOST_ERROR_CODE_HEADER_ONLY
#<define>BOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING
- <define>BOOST_CHRONO_VERSION=2
+ #<define>BOOST_CHRONO_VERSION=1
: v1_$(sources[1]:B)_h ]
;
}
}}}
Could you try this test forcing the version 2
{{{
Index: boost/chrono/config.hpp
===================================================================
--- boost/chrono/config.hpp (revision 83520)
+++ boost/chrono/config.hpp (working copy)
@@ -14,7 +14,7 @@
#include <boost/config.hpp>
#if !defined BOOST_CHRONO_VERSION
-#define BOOST_CHRONO_VERSION 1
+#define BOOST_CHRONO_VERSION 2
#else
#if BOOST_CHRONO_VERSION!=1 && BOOST_CHRONO_VERSION!=2
#error "BOOST_CHRONO_VERSION must be 1 or 2"
}}}
to see if there is something that makes io V2 incompatible with V1.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8328#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:12 UTC