Subject: [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-05 13:47:45
#7980: Build error: msvc-11.0 and BOOST_THREAD_DONT_USE_DATETIME
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.53.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
Hi,
I'm getting the following build error using msvc-11.0 with
BOOST_THREAD_DONT_USE_DATETIME defined.
{{{
compile-c-c++ bin.v2\libs\thread\build\msvc-11.0\debug\address-model-64
\debug-symbols-off\link-static\runtime-link-static\threading-
multi\win32\thread.obj
thread.cpp
.\boost/thread/win32/shared_mutex.hpp(136) : error C3861:
'timed_lock_shared': identifier not found
.\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
call "C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\vcvarsall.bat" x86_amd64 >nul
cl /Zm800 -nologo @"bin.v2\libs\thread\build\msvc-11.0\debug\address-
model-64\debug-symbols-off\link-static\runtime-link-static\threading-
multi\win32\thread.obj.rsp"
...failed compile-c-c++ bin.v2\libs\thread\build\msvc-11.0\debug\address-
model-64\debug-symbols-off\link-static\runtime-link-static\threading-
multi\win32\thread.obj...
...skipped <pbin.v2\libs\thread\build\msvc-11.0\debug\address-model-64
\debug-symbols-off\link-static\runtime-link-static\threading-multi
>libboost_thread-vc110-mt-sgd-1_53.lib for lack of
<pbin.v2\libs\thread\build\msvc-11.0\debug\address-model-64\debug-symbols-
off\link-static\runtime-link-static\threading-multi>win32\thread.obj...
...skipped <pd:\Working\lib64>libboost_thread-vc110-mt-sgd-1_53.lib for
lack of <pbin.v2\libs\thread\build\msvc-11.0\debug\address-model-64\debug-
symbols-off\link-static\runtime-link-static\threading-multi
>libboost_thread-vc110-mt-sgd-1_53.lib...
...failed updating 1 target...
...skipped 2 targets...
}}}
My full command line is as follows:
{{{
b2 -j 4 toolset=msvc-11.0 address-model=64 --with-thread --with-timer
--prefix=D:\Boost --libdir=%CD%\lib64 threading=multi link=static runtime-
link=static variant=debug debug-symbols=off
define=_CRT_SECURE_NO_WARNINGS=1 define=_SCL_SECURE_NO_WARNINGS=1
define=_CRT_NON_CONFORMING_SWPRINTFS define=BOOST_THREAD_DONT_USE_DATETIME
install
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7980> 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