Project

General

Profile

Actions

Bug #42246

closed

rgw: fix compile errors with boost 1.70 #27730

Added by Willem Jan Withagen over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #42386: nautilus: rgw: fix compile errors with boost 1.70 #27730ResolvedNathan CutlerActions
Actions #1

Updated by Casey Bodley over 4 years ago

  • Target version set to v14.2.5
Actions #2

Updated by Casey Bodley over 4 years ago

  • Target version deleted (v14.2.5)
  • Release set to nautilus
Actions #3

Updated by Casey Bodley over 4 years ago

  • Project changed from Ceph to rgw
Actions #4

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
Actions #5

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #42386: nautilus: rgw: fix compile errors with boost 1.70 #27730 added
Actions #6

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".

Actions

Also available in: Atom PDF