diff options
author | Chih-Hung Hsieh <chh@google.com> | 2014-12-12 09:50:57 -0800 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2014-12-12 10:38:54 -0800 |
commit | 88e332ad4a27e28038f0e70474e9a85bf725290c (patch) | |
tree | 0c4687fcb045410e1f2dd3ccd4d8af55cad613d5 | |
parent | 041b0f93ff8e799c166093e85b9f001082db4b96 (diff) | |
download | ppp-88e332ad4a27e28038f0e70474e9a85bf725290c.tar.gz |
Suppress clang warnings about const qualifiers.
gcc does not check these mismatches, but clang complains about:
passing 'const char *' to parameter of type 'char *' discards
qualifiers.
Change-Id: Iabe6d4e4b47ca8c3a16fb4d97c8f2bc84d67cc31
-rw-r--r-- | pppd/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pppd/Android.mk b/pppd/Android.mk index 0a564d9..ef34319 100644 --- a/pppd/Android.mk +++ b/pppd/Android.mk @@ -27,6 +27,10 @@ LOCAL_SRC_FILES:= \ upap.c \ utils.c +# options.c:623:21: error: passing 'const char *' to parameter of type 'char *' discards qualifiers. +# [-Werror,-Wincompatible-pointer-types-discards-qualifiers] +LOCAL_CLANG_CFLAGS += -Wno-incompatible-pointer-types-discards-qualifiers + LOCAL_SHARED_LIBRARIES := \ libcutils liblog libcrypto |