From 51c9b6b82d29236dbb59ec9d97e5bf028d97acae Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 28 Aug 2018 18:18:59 +0800 Subject: [PATCH] bt: disable implicit fall through warnings --- components/bt/component.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/bt/component.mk b/components/bt/component.mk index 5cbfceb256..327e9a9f37 100644 --- a/components/bt/component.mk +++ b/components/bt/component.mk @@ -17,6 +17,9 @@ COMPONENT_ADD_LINKER_DEPS := $(patsubst %,$(COMPONENT_PATH)/lib/lib%.a,$(LIBS)) COMPONENT_SUBMODULES += lib +# TODO: annotate fallthroughs in Bluedroid code with comments +CFLAGS += -Wno-implicit-fallthrough + endif