summaryrefslogtreecommitdiff
path: root/qcwcn
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-10-19 10:57:42 -0700
committerChih-Hung Hsieh <chh@google.com>2018-10-19 10:57:42 -0700
commit57a575667f0ab0c1928ff451f422a1b7bdb3d022 (patch)
tree856038febf4f9efc4a2f61956587833c01dd48f3 /qcwcn
parentba979c3265d5a4cd522f92169fd5c3b14ee1f26c (diff)
downloadwlan-57a575667f0ab0c1928ff451f422a1b7bdb3d022.tar.gz
Allow implicit-fallthrough warnings locally.
It will be a global error by default. Test: make checkbuild Bug: 112564944 Change-Id: Ie5b2a9a4d1f58080d7a3e83fbe80c0aa2798e13c Exempt-From-Owner-Approval: do not block on new warnings
Diffstat (limited to 'qcwcn')
-rw-r--r--qcwcn/wifi_hal/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/Android.mk b/qcwcn/wifi_hal/Android.mk
index 0f82f9c..639ccdb 100644
--- a/qcwcn/wifi_hal/Android.mk
+++ b/qcwcn/wifi_hal/Android.mk
@@ -28,6 +28,9 @@ LOCAL_CLANG_CFLAGS := -Wno-pointer-bool-conversion
LOCAL_CFLAGS += -Wall -Werror
+# Allow implicit fallthrough in nan_ind.cpp:834 until it is fixed.
+LOCAL_CFLAGS += -Wno-error=implicit-fallthrough
+
LOCAL_C_INCLUDES += \
$(LOCAL_PATH) \
external/libnl/include \
@@ -90,6 +93,9 @@ endif
# gscan.cpp: address of array 'cached_results[i].results' will always evaluate to 'true'
LOCAL_CLANG_CFLAGS := -Wno-pointer-bool-conversion
+# Allow implicit fallthrough in nan_ind.cpp:834 until it is fixed.
+LOCAL_CFLAGS += -Wno-error=implicit-fallthrough
+
LOCAL_C_INCLUDES += \
$(LOCAL_PATH) \
external/libnl/include \