Subject: [Boost-bugs] [Boost C++ Libraries] #6612: Boost thread debug std::cerr << __LINE__ in futures.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-24 20:10:05
#6612: Boost thread debug std::cerr << __LINE__ in futures.hpp
-----------------------------------------------+----------------------------
Reporter: ramon.casellas@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.50.0 | Component: thread
Version: Boost Development Trunk | Severity: Cosmetic
Keywords: thread __LINE__ futures std::cerr |
-----------------------------------------------+----------------------------
Dear Anthony,
Thank you for your work on boost threads. An aesthetic issue:
Using boost trunk, I get spurious debug traces to std::cerr.
The cause is the file include/boost/thread/futures.hpp line 1339 etc.
{{{
std::cout<< __LINE__ << " " << int(future_obtained) << std::endl;
}}}
A simple program triggers it:
{{{
boost::promise<tuple> prom;
boost::unique_future<tuple> fut = prom.get_future();
prom.set_value(std::move(tup));
futures.push_back(boost::shared_future<tuple>(std::move(fut)));
}}}
Thanks in advance,
R
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6612> 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:09 UTC