Project

General

Profile

Actions

Bug #24564

closed

perfcounter unit enum redeclaration

Added by Qiaowei Ren almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Build
Target version:
-
% Done:

100%

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

Description

the error about enum redeclaration during compile time:

error: redeclaration of enumerator 'NONE'
error: previous definition of 'NONE' ...

The error is from the enum declaration in src/common/perf_counters.h:

enum unit_t : uint8_t {
BYTES,
NONE
};

bug fix commit: https://github.com/ceph/ceph/pull/22615

Actions

Also available in: Atom PDF