|
Boost : |
Subject: Re: [boost] [1.51.0] Beta 1 release candidates available
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-08-12 12:44:45
Le 01/08/12 04:40, Marshall Clow a écrit :
> Release candidate files for 1.51.0 beta 1 are available at
> http://boost.cowic.de/rc/
>
> As always, the release managers would appreciate it if you download
> the candidate of your choice and give building it a try. Please report
> both success and failure, and anything else that is noteworthy.
>
> This helps ensure the candidates build OK before we push them out to
> SourceForge.
>
> The files (and associated md5s) are:
> 543e3498c4ce520bfa635607971be4fc boost_1_51_0_beta1_rc1.tar.gz
> 3f9beb290dad223c21822e9ef601fd80 boost_1_51_0_beta1_rc1.tar.bz2
> 0401b9c40aac37b7dd9ef7e33190270c boost_1_51_0_beta1_rc1.zip
> e5aa1cd82e71173197ee6794c2c035d2 boost_1_51_0_beta1_rc1.7z
>
>
Hi,
could I merge the fix for ticket
https://svn.boost.org/trac/boost/ticket/6174 after regression test cycle?
Best,
Vicente
svn diff future.hpp ../../libs/thread/test/test_6174.cpp
Index: future.hpp
===================================================================
--- future.hpp (revision 79979)
+++ future.hpp (working copy)
@@ -484,7 +484,7 @@
void mark_finished_with_result(rvalue_source_type result_)
{
boost::lock_guard<boost::mutex> lock(mutex);
- mark_finished_with_result_internal(result_);
+
mark_finished_with_result_internal(static_cast<rvalue_source_type>(result_));
}
move_dest_type get()
Index: ../../libs/thread/test/test_6174.cpp
===================================================================
--- ../../libs/thread/test/test_6174.cpp (revision 79973)
+++ ../../libs/thread/test/test_6174.cpp (working copy)
@@ -1,5 +1,10 @@
+// Copyright (C) 2010 Vicente Botet
+//
+// Distributed under the Boost Software License, Version 1.0. (See
accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
#include <boost/thread.hpp>
#include <boost/config.hpp>
@@ -16,13 +21,21 @@
public:
MovableButNonCopyable() {};
MovableButNonCopyable(MovableButNonCopyable&&) {};
- MovableButNonCopyable& operator=(MovableButNonCopyable&&) {
+ MovableButNonCopyable& operator=(MovableButNonCopyable&&)
+ {
return *this;
};
};
+
+MovableButNonCopyable construct()
+{
+ return MovableButNonCopyable();
+}
+
int main()
{
- boost::packaged_task<MovableButNonCopyable>(MovableButNonCopyable());
+ boost::packaged_task<MovableButNonCopyable> pt(construct);
+ pt();
return 0;
}
#else
frlann0l016992:thread viboes$ svn ci future.hpp
../../libs/thread/test/test_6174.cpp -m "Thread: refix 6174"
Sending boost/thread/future.hpp
Sending libs/thread/test/test_6174.cpp
Transmitting file data ..
Committed revision 79980.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk