Bug #42246
closedrgw: fix compile errors with boost 1.70 #27730
0%
Description
In file included from /home/jenkins/workspace/ceph-nautilus/src/rgw/rgw_dmclock_async_scheduler.cc:3:
/home/jenkins/workspace/ceph-nautilus/src/rgw/rgw_dmclock_async_scheduler.h:45:12: error: no viable conversion from returned value of type 'boost::asio::basic_waitable_timer<ceph::time_detail::coarse_real_clock, boost::asio::wait_traits<ceph::time_detail::coarse_real_clock>, boost::asio::executor>::executor_type' (aka 'boost::asio::executor') to function return type 'rgw::dmclock::AsyncScheduler::executor_type' (aka 'boost::asio::io_context::executor_type')
return timer.get_executor();
^~~~~~~~~~~~~~~~~~
/usr/local/include/boost/asio/io_context.hpp:623:19: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'boost::asio::basic_waitable_timer<ceph::time_detail::coarse_real_clock, boost::asio::wait_traits<ceph::time_detail::coarse_real_clock>, boost::asio::executor>::executor_type' (aka 'boost::asio::executor') to 'const boost::asio::io_context::executor_type &' for 1st argument
class io_context::executor_type
^
/usr/local/include/boost/asio/io_context.hpp:623:19: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'boost::asio::basic_waitable_timer<ceph::time_detail::coarse_real_clock, boost::asio::wait_traits<ceph::time_detail::coarse_real_clock>, boost::asio::executor>::executor_type' (aka 'boost::asio::executor') to 'boost::asio::io_context::executor_type &&' for 1st argument
/usr/local/include/boost/asio/executor.hpp:199:3: note: candidate function
operator unspecified_bool_type() const BOOST_ASIO_NOEXCEPT
^
1 error generated.
Updated by Casey Bodley over 4 years ago
- Target version set to v14.2.5
original pr: https://github.com/ceph/ceph/pull/27730
Updated by Casey Bodley over 4 years ago
- Target version deleted (
v14.2.5) - Release set to nautilus
Updated by Nathan Cutler over 4 years ago
- Tracker changed from Backport to Bug
- Status changed from New to Pending Backport
- % Done set to 0
- Backport set to nautilus
- Regression set to No
- Severity set to 3 - minor
- Pull request ID set to 27730
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #42386: nautilus: rgw: fix compile errors with boost 1.70 #27730 added
Updated by Nathan Cutler over 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".