New failing tests in circular buffer on some platforms
I note that there are some new failing tests for circular buffer on some platforms http://www.boost.org/development/tests/trunk/developer/circular_buffer.html on MSVC noncopyable_movable_noexcept_t is causing trouble base_test.cpp C:\boost_regression\trunk\boost\boost/circular_buffer/base.hpp(694) : error C2558: struct 'noncopyable_movable_noexcept_t' : no copy constructor available or copy constructor is declared 'explicit' C:\boost_regression\trunk\boost\boost/circular_buffer/base.hpp(673) : while compiling class template member function 'noncopyable_movable_noexcept_t *boost::circular_buffer<T>::linearize(void)' with [ T=noncopyable_movable_test_t ] c:\boost_regression\trunk\boost\libs\circular_buffer\test\common.ipp(2160) : see reference to function template instantiation 'noncopyable_movable_noexcept_t *boost::circular_buffer<T>::linearize(void)' being compiled with [ T=noncopyable_movable_test_t ] c:\boost_regression\trunk\boost\libs\circular_buffer\test\common.ipp(2236) : see reference to class template instantiation 'boost::circular_buffer<T>' being compiled with [ T=noncopyable_movable_test_t ] C:\boost_regression\trunk\boost\boost/circular_buffer/base.hpp(697) : error C2558: struct 'noncopyable_movable_noexcept_t' : no copy constructor available or copy constructor is declared 'explicit' ON gcc and Clang there are warnings and failure Running 60 test cases... ../libs/circular_buffer/test/common.ipp(2303): error: in "check_containers_exception_specifications": check boost::has_nothrow_constructor<circular_buffer<int> >::value has failed Can any experts shed light on this? I do not believe that the underlying circular buffer code has changed recently. Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com
2013/7/20 Paul A. Bristow <pbristow@hetp.u-net.com>
I note that there are some new failing tests for circular buffer on some platforms
http://www.boost.org/development/tests/trunk/developer/circular_buffer.html
<...>
Can any experts shed light on this?
I'm adding rvalue references support for Boost.CircularBuffer. Some of its methods require is_copy_constructible trait, which was added recently and had some issues. So I had accidentally broke circular_buffer in a few places. I hope those bugs did not disturb anybody. Currently it looks like everything is OK, all tests pass (even the new ones, that use Boost.Move noncopyable but movable classes). I'll update docs for new methods in a week or two. -- Best regards, Antony Polukhin
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Antony Polukhin Sent: Sunday, July 28, 2013 1:05 PM To: boost@lists.boost.org List Subject: Re: [boost] New failing tests in circular buffer on some platforms
2013/7/20 Paul A. Bristow <pbristow@hetp.u-net.com>
I note that there are some new failing tests for circular buffer on some platforms
http://www.boost.org/development/tests/trunk/developer/circular_buffer .html
<...>
Can any experts shed light on this?
I'm adding rvalue references support for Boost.CircularBuffer. Some of its methods require is_copy_constructible trait, which was added recently and had some issues. So I had accidentally broke circular_buffer in a few places. I hope those bugs did not disturb anybody.
Currently it looks like everything is OK, all tests pass (even the new ones, that use Boost.Move noncopyable but movable classes). I'll update docs for new methods in a week or two.
Thanks for fixing this. (A couple of trunk testers are still showing yellow, but perhaps they haven't cycled yet?) Don't forget that the docs are now in Quickbook format and include Auto-indexing, so you'll need that to rebuild the docs from Quickbook source. Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com
participants (2)
-
Antony Polukhin
-
Paul A. Bristow