diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-10-11 13:16:00 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-10-11 13:31:56 -0700 |
commit | f4b5211d0a8398a84030ca681bcb66b6dcd0b04a (patch) | |
tree | f953d79fead5ee864ee630af9f52ec58f63910a6 | |
parent | e100a0c4105b94f7044b243287a5da22f5e8e4e7 (diff) | |
download | netperf-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.mk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 \ |