aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-11 13:16:00 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-11 13:31:56 -0700
commitf4b5211d0a8398a84030ca681bcb66b6dcd0b04a (patch)
treef953d79fead5ee864ee630af9f52ec58f63910a6
parente100a0c4105b94f7044b243287a5da22f5e8e4e7 (diff)
downloadnetperf-f4b5211d0a8398a84030ca681bcb66b6dcd0b04a.tar.gz
Use -Werror in external/netperf
* Suppress existing warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ie6be8fb9c7a7c212405eadb441bc3d0fbb027861
-rw-r--r--Android.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 57f209d..9e9a0ef 100644
--- a/Android.mk
+++ b/Android.mk
@@ -19,8 +19,15 @@ netperf_CFLAGS := \
-DHAVE_CONFIG_H \
-include unistd.h \
-include sys/sendfile.h \
+ -Wall -Werror \
+ -Wno-incompatible-pointer-types \
+ -Wno-pointer-sign \
+ -Wno-sometimes-uninitialized \
-Wno-sign-compare \
+ -Wno-uninitialized \
+ -Wno-unused-function \
-Wno-unused-parameter \
+ -Wno-unused-variable \
netperf_SRC_FILES := \
src/dscp.c \