From 1a95710441baa1f14a57129cb6fe18559df63766 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 15 Apr 2018 22:38:08 +0800 Subject: [PATCH] qa: disable -Werror when compiling env_librados_test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit to silence warnings like utilities/env_librados.cc:175:33: warning: unused parameter ‘offset’ [-Wunused-parameter] Status InvalidateCache(size_t offset, size_t length) { ^~~~~~ Signed-off-by: Kefu Chai --- qa/workunits/rados/test_envlibrados_for_rocksdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/workunits/rados/test_envlibrados_for_rocksdb.sh b/qa/workunits/rados/test_envlibrados_for_rocksdb.sh index d24a87bef2595..60276d170245e 100755 --- a/qa/workunits/rados/test_envlibrados_for_rocksdb.sh +++ b/qa/workunits/rados/test_envlibrados_for_rocksdb.sh @@ -73,7 +73,7 @@ git clone https://github.com/facebook/rocksdb.git --depth 1 # compile code cd rocksdb -make env_librados_test ROCKSDB_USE_LIBRADOS=1 -j8 +make env_librados_test ROCKSDB_USE_LIBRADOS=1 DISABLE_WARNING_AS_ERROR=1 -j8 echo "Copy ceph.conf" # prepare ceph.conf -- 2.39.5