ex_scoped_thread compile fails on msvc-12.0
Test output: teeks99-10-win2008-64on64 - thread - ex_scoped_thread / msvc-12.0
Rev 86532 / Fri, 01 Nov 2013 12:53:59 +0000
Compile [2013-11-01 22:52:21 UTC]: fail
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_amd64 >nul
cl /Zm800 -nologo @"C:\local\results\boost\bin.v2\libs\thread\test\ex_scoped_thread.test\msvc-12.0\debug\address-model-64\threading-multi\scoped_thread.obj.rsp"
scoped_thread.cpp
..\libs\thread\test\..\example\scoped_thread.cpp(36) : warning C4512: 'func' : assignment operator could not be generated
..\libs\thread\test\..\example\scoped_thread.cpp(21) : see declaration of 'func'
..\libs\thread\test\..\example\scoped_thread.cpp(88) : error C2661: 'boost::scoped_thread<boost::join_if_joinable>::scoped_thread' : no overloaded function takes 3 arguments
Change History
(8)
Owner: |
changed from Anthony Williams to viboes
|
Status: |
new → assigned
|
Version: |
Boost 1.55.0 → Boost Development Trunk
|
Milestone: |
To Be Determined → Boost 1.56.0
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
The following code in the scoped_thread.hpp fails because struct dummy is not public:
#if ! defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
#else
To resolve the problem, it is enough to replace "dummy*" with "void*".