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: compile RocksDB with -Wno-error-shadow #39121

Merged

Conversation

petermattis
Copy link
Collaborator

Clang 11.x (llvm 8.x) has new shadow warnings about enums which are
being tickled by RocksDB. As a temporary workaround, don't error out on
these warnings.

Release note: None

@petermattis petermattis requested review from a team and ajkr July 26, 2019 18:26
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@petermattis
Copy link
Collaborator Author

Depends on cockroachdb/rocksdb#41

Cc @kenliu

Clang 11.x (llvm 8.x) has new shadow warnings about enums which are
being tickled by RocksDB. As a temporary workaround, don't error out on
these warnings.

Release note: None
@petermattis petermattis force-pushed the pmattis/rocksdb-no-error-shadow branch from 5477cb0 to 177dfe8 Compare July 26, 2019 20:21
Copy link
Contributor

@ajkr ajkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @ajkr)

@petermattis
Copy link
Collaborator Author

TFTR!

bors r=ajkr

craig bot pushed a commit that referenced this pull request Jul 26, 2019
39121: build: compile RocksDB with -Wno-error-shadow r=ajkr a=petermattis

Clang 11.x (llvm 8.x) has new shadow warnings about enums which are
being tickled by RocksDB. As a temporary workaround, don't error out on
these warnings.

Release note: None

Co-authored-by: Peter Mattis <petermattis@gmail.com>
@craig
Copy link
Contributor

craig bot commented Jul 26, 2019

Build succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants