|
Boost : |
Subject: [boost] Warning generated by boost::process code
From: Wilfred Smith (wilfredsmith_at_[hidden])
Date: 2017-08-02 19:55:35
Dear Sir or Madam,
In Boost 1.64.0,
include/boost/process/detail/posix/wait_group.hpp:131:10: warning: unused variable 'start' [-Wunused-variable]
auto start = std::chrono::system_clock::now();
^
/usr/local/include/boost/process/detail/posix/wait_group.hpp:165:10: warning: unused variable 'start' [-Wunused-variable]
auto start = std::chrono::system_clock::now();
^
I believe these two lines should be removed. This appears to be a âcopy and pasteâ issue. The two routines above these lines use the âstartâ variable to calculate a relative time. However, the later two routines use an absolute time, and the compiler complains as shown above.
Removing these two lines should fix the compiler warning and have no adverse effect.
Please let me know if this is the wrong place to complain about issues.
\W/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk