Bug #15594
Clang complains about RocksDB: Struct != Class
Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Development
Tags:
Backport:
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 db/db_impl_readonly.cc:7:
In file included from ./db/db_impl_readonly.h:10:
In file included from ./db/db_impl.h:21:
In file included from ./db/compaction_job.h:21:
In file included from ./db/compaction_iterator.h:14:
In file included from ./db/compaction.h:14:
In file included from ./db/version_set.h:38:
./db/log_reader.h:22:1: warning: class 'DBOptions' was previously declared as a struct [-Wmismatched-tags]
class DBOptions;
^
./include/rocksdb/options.h:779:8: note: previous use is here
struct DBOptions {
^
./db/log_reader.h:22:1: note: did you mean struct here?
class DBOptions;
^~~
struct
History
#1 Updated by Sage Weil almost 3 years ago
- Status changed from New to Closed