From: Ivan Grokhotkov Date: Tue, 28 Aug 2018 10:18:59 +0000 (+0800) Subject: bt: disable implicit fall through warnings X-Git-Tag: v3.2-beta1~124^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51c9b6b82d29236dbb59ec9d97e5bf028d97acae;p=esp-idf bt: disable implicit fall through warnings --- 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