Project

General

Profile

Bug #45668

librbd: fix compile error with CephContext declaration

Added by Willem Jan Withagen 6 months ago. Updated 6 months ago.

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

0%

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

Description

Clang errors out:
/home/jenkins/workspace/ceph-master/src/librbd/plugin/Types.h:9:1: error: declaration conflicts with target of using declaration already in scope
struct CephContext;
^
/home/jenkins/workspace/ceph-master/src/include/common_fwd.h:10:9: note: target of using declaration
class CephContext;
^
/home/jenkins/workspace/ceph-master/src/include/common_fwd.h:22:24: note: using declaration
using TOPNSPC::common::CephContext;
^

History

#1 Updated by Willem Jan Withagen 6 months ago

  • Pull request ID set to 35209

#2 Updated by Brad Hubbard 6 months ago

  • Project changed from Ceph to rbd
  • Category deleted (librbd)

#3 Updated by Nathan Cutler 6 months ago

  • Status changed from New to Fix Under Review

#4 Updated by Nathan Cutler 6 months ago

  • Assignee set to Willem Jan Withagen

#5 Updated by Jason Dillaman 6 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF