From 19461d9be82faa4cd29ab0217e5e504382040a9d Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Tue, 21 Feb 2023 17:39:08 +0900 Subject: [PATCH] Suppress -fcoroutines-ts deprecation warning Starting from clang-r487747, clang emits the following warning: clang++: error: the '-fcoroutines-ts' flag is deprecated and it will be removed in Clang 17; use '-std=c++20' or higher to use standard C++ coroutines instead [-Werror,-Wdeprecated-experimental-coroutine] Test: presubmit Change-Id: Ib0082dee2e7d3f16dc8c23b757c90ede9f229cb4 --- Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.bp b/Android.bp index 519101739..748973dcd 100644 --- a/Android.bp +++ b/Android.bp @@ -252,6 +252,7 @@ cc_binary { "-fsized-deallocation", "-fexceptions", "-fcoroutines-ts", + "-Wno-deprecated-experimental-coroutine", "-Wno-format-zero-length", "-Wno-implicit-fallthrough", "-Wno-non-virtual-dtor",