COMPMID-3771: Fixed implicit-fallthrough warning
authormorgolock <pablo.tello@arm.com>
Tue, 17 Nov 2020 09:37:37 +0000 (09:37 +0000)
committerSheri Zhang <sheri.zhang@arm.com>
Tue, 17 Nov 2020 11:08:08 +0000 (11:08 +0000)
Disabled the warning in the Android.bp. When we move to C++17
we can enable it again and use  [[fallthrough]] instead.

Change-Id: I96372d286e1c18f58c704bede131a8eb19cdcb56
Signed-off-by: morgolock <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4436
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Sheri Zhang <sheri.zhang@arm.com>
Android.bp

index 98b00cf5ba47b85a6736c71a09e92df6c02942b6..3678c705e90bacf69fd9c821e220f71d451d4bff 100644 (file)
@@ -31,7 +31,8 @@ arm_compute_library_defaults {
             "-DARM_COMPUTE_CPP_SCHEDULER",
             "-Wno-unused-parameter",
             "-DNO_DOT_IN_TOOLCHAIN",
-            "-no-integrated-as"
+            "-no-integrated-as",
+            "-Wno-implicit-fallthrough"
     ],
     rtti: true,
 }