Re: [Boost-bugs] [Boost C++ Libraries] #8458: -DBOOST_THREAD_DONT_USE_CHRONO in thread.obj.rsp but not explicitly set

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8458: -DBOOST_THREAD_DONT_USE_CHRONO in thread.obj.rsp but not explicitly set
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-10 17:36:24


#8458: -DBOOST_THREAD_DONT_USE_CHRONO in thread.obj.rsp but not explicitly set
----------------------------+----------------------
  Reporter: lukeocamden@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: Boost 1.54.0 | Component: thread
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
----------------------------+----------------------

Comment (by anonymous):

 Replying to [comment:11 viboes]:
> Could you tell me if the following works for you?
>
> {{{
> svn diff libs/thread/build/Jamfile.v2 boost/thread/detail/config.hpp
> Index: libs/thread/build/Jamfile.v2
> ===================================================================
> --- libs/thread/build/Jamfile.v2 (revision 84414)
> +++ libs/thread/build/Jamfile.v2 (working copy)
> @@ -263,8 +263,11 @@
> result = <build>no ;
> }
> }
> + result += <define>BOOST_THREAD_DONT_USE_CHRONO ;
> + } else {
> + result += <define>BOOST_THREAD_USES_CHRONO ;
> + result += <library>/boost/chrono//boost_chrono ;
> }
> - result += <define>BOOST_THREAD_DONT_USE_CHRONO ;
>
> if <toolset>pgi in $(properties) || <toolset>vacpp in
 $(properties)
> {
> Index: boost/thread/detail/config.hpp
> ===================================================================
> --- boost/thread/detail/config.hpp (revision 84414)
> +++ boost/thread/detail/config.hpp (working copy)
> @@ -318,6 +318,11 @@
> #define BOOST_THREAD_USES_DATETIME
> #endif
>
> +#if defined(BOOST_THREAD_PLATFORM_WIN32) && defined
 BOOST_THREAD_DONT_USE_CHRONO
> +#undef BOOST_THREAD_DONT_USE_CHRONO
> +#define BOOST_THREAD_USES_CHRONO
> +#endif
> +
> // BOOST_THREAD_PROVIDES_DEPRECATED_FEATURES_SINCE_V3_0_0 defined by
 default up to Boost 1.55
> // BOOST_THREAD_DONT_PROVIDE_DEPRECATED_FEATURES_SINCE_V3_0_0 defined
 by default up to Boost 1.55
> #if defined BOOST_THREAD_PROVIDES_DEPRECATED_FEATURES_SINCE_V3_0_0
> }}}

 Yes it does. Thanks!

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