diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-10-11 13:00:55 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-10-11 13:07:02 -0700 |
commit | 255a48f0c9e9dba52c7336143aa820c03fa21ddb (patch) | |
tree | c97d563a744683bb2629fc4b7331772cacf439ca | |
parent | ed7c226e0c0c22704da70c2cfe85d8a0043a3ca0 (diff) | |
download | libvncserver-255a48f0c9e9dba52c7336143aa820c03fa21ddb.tar.gz |
Use -Werror in external/libvncserver
* Suppress existing warnings.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I1c7fc076f44076349a843a632bc0c5ffcbcb4240
-rw-r--r-- | Android.mk | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -44,7 +44,14 @@ LOCAL_SRC_FILES := libvncserver/auth.c \ test/bmp.c LOCAL_STATIC_LIBRARIES := libz libpng libjpeg libssl -LOCAL_CFLAGS := -D__ANDROID__ -DHAVE_LIBSSL -DWITH_WEBSOCKETS +LOCAL_CFLAGS := \ + -D__ANDROID__ -DHAVE_LIBSSL -DWITH_WEBSOCKETS \ + -Wall -Werror \ + -Wno-missing-field-initializers \ + -Wno-sign-compare \ + -Wno-tautological-compare \ + -Wno-unused-parameter \ + -Wno-user-defined-warnings \ #LOCAL_SDK_VERSION := 14 |