diff --git a/BUILD.gn b/BUILD.gn index d4f044899a174d12ae7f95536b6026e522c762a9..b078ac0b1af8607966978bd6775a2d2787035b01 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 = [ "." ] }