examples/Makefile: add -Wno-unused-parameter to avoid compile error

Signed-off-by: You Ji <youji@ebay.com>
This commit is contained in:
Ji You 2018-08-14 23:33:37 -07:00
parent 4cf9e35cf5
commit 1803671166
2 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
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?=-lrados -lradosstriper
CXX_INC?=$(LOCAL_LIBRADOS_INC)
CXX_CC=$(CXX) $(CXX_FLAGS) $(CXX_INC) $(LOCAL_LIBRADOS)
CC?=gcc
CC_FLAGS=-Wall -Wextra -Werror -g
CC_FLAGS=-Wno-unused-parameter -Wall -Wextra -Werror -g
CC_INC=$(LOCAL_LIBRADOS_INC)
CC_LIBS?=-lrados
CC_CC=$(CC) $(CC_FLAGS) $(CC_INC) $(LOCAL_LIBRADOS)

View File

@ -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)