-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Open
Description
According to your documentation, RocksDB should build without the dependency Snappy. However, attempting to do so results in this compiler error:
% make static_lib
$DEBUG_LEVEL is 0, $LIB_MODE is static
$DEBUG_LEVEL is 0, $LIB_MODE is static
CC cache/cache.o
...
CC util/compression.o
util/compression.cc:1395:40: error: unused parameter 'args' [-Werror,-Wunused-parameter]
1395 | Status ExtractUncompressedSize(Args& args) override {
| ^
1 error generated.
make: *** [util/compression.o] Error 1
This is easily fixed by changing line 1395 of compression.cc from this:
Status ExtractUncompressedSize(Args& args) override {
to this:
Status ExtractUncompressedSize([[maybe_unused]] Args& args) override {
I am building on Mac OS 15.7.3 (Sequoia) with Apple clang version 17.0.0 (clang-1700.6.3.2).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels