summaryrefslogtreecommitdiffstats
path: root/examples/librbd
diff options
context:
space:
mode:
authorJi You <youji@ebay.com>2018-08-15 08:33:37 +0200
committerJi You <youji@ebay.com>2018-08-16 03:20:17 +0200
commit1803671166be740898873816dc9805f73a7cd419 (patch)
tree655173dae879bf5372164a4d8564e44b104d5d65 /examples/librbd
parentMerge pull request #23564 from falcon78921/wip-docs-links-1 (diff)
downloadceph-1803671166be740898873816dc9805f73a7cd419.tar.xz
ceph-1803671166be740898873816dc9805f73a7cd419.zip
examples/Makefile: add -Wno-unused-parameter to avoid compile error
Signed-off-by: You Ji <youji@ebay.com>
Diffstat (limited to '')
-rw-r--r--examples/librbd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/librbd/Makefile b/examples/librbd/Makefile
index c794c51dc8b..2cd9f269aa8 100644
--- a/examples/librbd/Makefile
+++ b/examples/librbd/Makefile
@@ -1,6 +1,6 @@
CXX?=g++
-CXX_FLAGS?=-std=c++11 -Wall -Wextra -Werror -g
+CXX_FLAGS?=-std=c++11 -Wno-unused-parameter -Wall -Wextra -Werror -g
CXX_LIBS?=-lboost_system -lrbd -lrados
CXX_INC?=$(LOCAL_LIBRADOS_INC)
CXX_CC=$(CXX) $(CXX_FLAGS) $(CXX_INC) $(LOCAL_LIBRADOS)