Another Problem (was RE: [type_traits] Another big update in develop)
A recent change on develop is breaking something in boost function: _In file included from ../../../boost/function/function_base.hpp:22:0, from ../../../boost/function/detail/prologue.hpp:17, from ../../../boost/function.hpp:24, from ../../../boost/thread/future.hpp:52, from ../../../libs/thread/src/pthread/thread.cpp:19: ../../../boost/type_traits/has_trivial_copy.hpp:47:47: error: template argument 1 is invalid This was not there yesterday. John Fletcher
On 08/07/2015 17:43, Fletcher, John P wrote:
A recent change on develop is breaking something in boost function:
_In file included from ../../../boost/function/function_base.hpp:22:0, from ../../../boost/function/detail/prologue.hpp:17, from ../../../boost/function.hpp:24, from ../../../boost/thread/future.hpp:52, from ../../../libs/thread/src/pthread/thread.cpp:19: ../../../boost/type_traits/has_trivial_copy.hpp:47:47: error: template argument 1 is invalid
This was not there yesterday.
My apologies: I omitted some checks for #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) , this should be fixed now. Many thanks for the prompt report, John.
________________________________________ From: Boost [boost-bounces@lists.boost.org] on behalf of John Maddock [jz.maddock@googlemail.com] Sent: 08 July 2015 18:32 To: boost@lists.boost.org Subject: Re: [boost] Another Problem (was RE: [type_traits] Another big update in develop)
My apologies: I omitted some checks for #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) , this should be fixed now.
Many thanks for the prompt report, John.
Thank you for the quick fix, John My default tests now run (gcc 4.6 C++03) John
I'm getting these errors with MSVC12 on the current develop branch:
compile-c-c++ bin.v2\libs\thread\build\msvc-12.0\debug\address-model-64\threading-multi\win32\thread.obj
thread.cpp
C:\src\boost\boost/type_traits/common_type.hpp(111) : fatal error
C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\esumem.c', line 8636)
To work around this problem, try simplifying or changing the program
near the locations listed above.
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
C:\src\boost\boost/type_traits/common_type.hpp(133) : see
reference to class template instantiation
'boost::type_traits_detail::common_type_impl
nul cl /Zm800 -nologo @"bin.v2\libs\thread\build\msvc-12.0\debug\address-model-64\threading-multi\win32\thread.obj.rsp"
...failed compile-c-c++ bin.v2\libs\thread\build\msvc-12.0\debug\address-model-64\threading-multi\win32\thread.obj...
On 10/07/2015 20:47, Andrey Semashev wrote:
I'm getting these errors with MSVC12 on the current develop branch:
I'm unable to reproduce, I did a: * Fresh checkout of develop super-project. * Then a: bjam address-model=64 --with-thread --build-type=complete and everything built fine. Also built the tests in libs/thread/test, and I see 4 test failures coming from Boost.Container, but nothing from type_traits. Note that I'm using the x86/amd64 cross compiler as I don't have the native 64-bit compiler (but looks like you're using the same?) And I'm using Microsoft Visual Studio Express 2013 for Windows Desktop Version 12.0.31101.00 Update 4. Is it possible you're using an older unpatched version? John.
On 11.07.2015 20:06, John Maddock wrote:
On 10/07/2015 20:47, Andrey Semashev wrote:
I'm getting these errors with MSVC12 on the current develop branch:
I'm unable to reproduce, I did a:
* Fresh checkout of develop super-project. * Then a: bjam address-model=64 --with-thread --build-type=complete
and everything built fine.
Also built the tests in libs/thread/test, and I see 4 test failures coming from Boost.Container, but nothing from type_traits.
Note that I'm using the x86/amd64 cross compiler as I don't have the native 64-bit compiler (but looks like you're using the same?)
And I'm using Microsoft Visual Studio Express 2013 for Windows Desktop Version 12.0.31101.00 Update 4. Is it possible you're using an older unpatched version?
I'm using Visual Studio 2013 Version 12.0.30723.00 Update 3. The problem seems to be triggered by Boost.Chrono, so it fails similarly in multiple places. I'll try installing Update 4. Do we support unpatched MSVC versions?
On 11.07.2015 22:26, Andrey Semashev wrote:
On 11.07.2015 20:06, John Maddock wrote:
On 10/07/2015 20:47, Andrey Semashev wrote:
I'm getting these errors with MSVC12 on the current develop branch:
I'm unable to reproduce, I did a:
* Fresh checkout of develop super-project. * Then a: bjam address-model=64 --with-thread --build-type=complete
and everything built fine.
Also built the tests in libs/thread/test, and I see 4 test failures coming from Boost.Container, but nothing from type_traits.
Note that I'm using the x86/amd64 cross compiler as I don't have the native 64-bit compiler (but looks like you're using the same?)
And I'm using Microsoft Visual Studio Express 2013 for Windows Desktop Version 12.0.31101.00 Update 4. Is it possible you're using an older unpatched version?
I'm using Visual Studio 2013 Version 12.0.30723.00 Update 3. The problem seems to be triggered by Boost.Chrono, so it fails similarly in multiple places.
I'll try installing Update 4. Do we support unpatched MSVC versions?
I can confirm that installing Update 4 fixed the problem. Thanks, John.
participants (3)
-
Andrey Semashev
-
Fletcher, John P
-
John Maddock