summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2020-06-21 13:36:44 -0700
committerJens Axboe <axboe@kernel.dk>2020-06-21 20:49:50 -0600
commit7c0f3faf775d29371c57c6eafabea4c6d5cce7f5 (patch)
treea99e6d152485f27cf685aa9c89493896bafa5b11 /test
parent94ba6378bea8db499bedeabb54ab20fcf41555cf (diff)
downloadliburing-7c0f3faf775d29371c57c6eafabea4c6d5cce7f5.tar.gz
liburing-7c0f3faf775d29371c57c6eafabea4c6d5cce7f5.tar.bz2
Makefiles: Enable -Wextra
Enable -Wextra and disable the unused parameter and different signedness in comparison warnings. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 93e58f4..e103296 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -5,7 +5,9 @@ INSTALL=install
CFLAGS ?= -g -O2
XCFLAGS =
-override CFLAGS += -Wall -D_GNU_SOURCE -L../src/ -I../src/include/ -include ../config-host.h -D__SANE_USERSPACE_TYPES__
+override CFLAGS += -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare\
+ -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -L../src/ \
+ -I../src/include/ -include ../config-host.h
all_targets += poll poll-cancel ring-leak fsync io_uring_setup io_uring_register \
io_uring_enter nop sq-full cq-full 35fa71a030ca-test \