]> granicus.if.org Git - esp-idf/commitdiff
bt: disable implicit fall through warnings
authorIvan Grokhotkov <ivan@espressif.com>
Tue, 28 Aug 2018 10:18:59 +0000 (18:18 +0800)
committerAnton Maklakov <anton@espressif.com>
Thu, 20 Sep 2018 10:53:14 +0000 (18:53 +0800)
components/bt/component.mk

index 5cbfceb256e9588fe8c7dc093cd2e5f7bcc9b803..327e9a9f37410a99148099bb1d0bfa7c2d385957 100644 (file)
@@ -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