Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed with clang 11 #343

Closed
siddontang opened this issue Sep 23, 2019 · 3 comments
Closed

build failed with clang 11 #343

siddontang opened this issue Sep 23, 2019 · 3 comments
Assignees
Labels
type/bug The issue is confirmed as a bug.

Comments

@siddontang
Copy link

/Users/tangliu/program/rust/rust-rocksdb/librocksdb_sys/libtitan_sys/../rocksdb/db/internal_stats.h:117:5: error: declaration shadows a variable in namespace 'rocksdb' [-Werror,-Wshadow]
    WRITE_WITH_WAL,
    ^
/Users/tangliu/program/rust/rust-rocksdb/librocksdb_sys/libtitan_sys/../rocksdb/include/rocksdb/statistics.h:198:3: note: previous declaration is here
  WRITE_WITH_WAL,       // Number of Write calls that request WAL
  ^
clang --version
Apple clang version 11.0.0 (clang-1100.0.33.8)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
@siddontang siddontang added the type/bug The issue is confirmed as a bug. label Sep 23, 2019
@jolestar
Copy link

The same problem, someone finds a workaround method to fix this? I do not want to rollback the XCode Command Line Tools version.

@Hoverbear
Copy link

Fix is pending: tikv/rocksdb#123

@Connor1996
Copy link
Member

Already fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants