From 5297b3ce326adde4f70d6fdcd9575fd7e4cccae2 Mon Sep 17 00:00:00 2001 From: Gavin1012 Date: Tue, 9 Nov 2021 19:10:06 +0800 Subject: [PATCH] fixed 6a58aee from https://gitee.com/gavin1012_hw/third_party_jerryscript/pulls/60 fixed ea01a09 from https://gitee.com/gavin1012_hw/third_party_jerryscript/pulls/59 shield unannotated fall-through warning Signed-off-by: Gavin1012 --- BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index d4f04489..b078ac0b 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -35,6 +35,7 @@ if (defined(ohos_lite)) { # is on lite Os for ipcamera cflags = [ "-Wno-unused-function", "-Wno-sign-compare", + "-Wno-implicit-fallthrough", ] include_dirs = [ "." ] } @@ -66,6 +67,7 @@ if (defined(ohos_lite)) { # is on lite Os for ipcamera "-Wno-unused-function", "-Wno-sign-compare", "-Wno-error", # jerry add + "-Wno-implicit-fallthrough", ] include_dirs = [ "." ] } -- Gitee