Opened 7 years ago
Closed 7 years ago
#11435 closed Bugs (fixed)
gcc compiler warning in future.hpp
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.60.0 | Component: | thread |
Version: | Boost 1.59.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Boost.Thread 1.58 emits this warning when compiling under RHEL7/gcc 4.8:
/home/user/Boost/1.58.0/include/boost/thread/future.hpp:410:33: warning: unused parameter ‘lk’ [-Wunused-parameter]
future_state::state get_state(boost::unique_lock<boost::mutex>& lk) const
The attached patch fixes the warning.
Attachments (1)
Change History (7)
by , 7 years ago
Attachment: | boost_1_58_0-ThreadFutureWarning.patch added |
---|
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 years ago
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
comment:3 by , 7 years ago
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
Version: | Boost 1.58.0 → Boost 1.59.0 |
The warning is still present in Boost 1.59.0 (same file, same line number).
comment:4 by , 7 years ago
Milestone: | To Be Determined → Boost 1.60.0 |
---|
comment:6 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
This should be a duplicate of I don't remember what ticket. Fixed already in develop branch.