Re: [Boost-bugs] [Boost C++ Libraries] #7980: Build error: msvc-11.0 and BOOST_THREAD_DONT_USE_DATETIME

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7980: Build error: msvc-11.0 and BOOST_THREAD_DONT_USE_DATETIME
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-06 10:46:41


#7980: Build error: msvc-11.0 and BOOST_THREAD_DONT_USE_DATETIME
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by anonymous):

 Ah... Other uses of `chrono::steady_clock` seem to be wrapped in
 `BOOST_THREAD_USES_CHRONO`. With the patch applied if I add
 `define=BOOST_THREAD_USES_CHRONO` to the build command it builds.

 It seems I need both the patch //and// `define=BOOST_THREAD_USES_CHRONO`.
 One or other alone doesn't fix the build.

 I hope that's useful.


 P.S. Just FYI, without the patch but with
 `define=BOOST_THREAD_USES_CHRONO` I get:

 {{{
 compile-c-c++ bin.v2\libs\thread\build\msvc-11.0\release\address-model-32
 \debug-store-database\debug-symbols-on\link-static\runtime-link-static
 \threading-multi\win32\thread.obj
 thread.cpp
 D:\boost_1_53_0\boost/thread/win32/shared_mutex.hpp(136) : error C3861:
 'timed_lock_shared': identifier not found
 D:\boost_1_53_0\boost/thread/future.hpp(354) : warning C4913: user defined
 binary operator ',' exists but no overload could convert all operands,
 default built-in binary operator ',' used
 }}}

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