Project

General

Profile

Actions

Bug #65232

open

warning: ‘newDBStore’ violates the C++ One Definition Rule

Added by Casey Bodley about 1 month ago.

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

0%

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

Description

compiler warning from centos9 build, ex https://jenkins.ceph.com/job/ceph-dev-new-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=centos9,DIST=centos9,MACHINE_SIZE=gigantic/77998//consoleFull

src/rgw/rgw_sal.cc:51: warning: ‘newDBStore’ violates the C++ One Definition Rule [-Wodr]
   51 | extern rgw::sal::Driver* newDBStore(CephContext *cct);
      | 
src/rgw/rgw_sal_dbstore.cc:1869: note: ‘newDBStore’ was previously declared here
 1869 |   void *newDBStore(CephContext *cct)
      |

No data to display

Actions

Also available in: Atom PDF