From 2c6b4acb87f989c5910f8e0b7135ccb9725f7f3e Mon Sep 17 00:00:00 2001 From: Aditya Kumar Date: Thu, 12 Sep 2024 18:40:17 +0000 Subject: [PATCH] Disable -Wno-deprecated-dynamic-exception-spec until the warning is fixed in libc++abi header files Test: mmma art/libnativeloader Bug: b/366180429 Change-Id: Ie77f9dc674224044d5c7078db891f88e42a52a19 --- cc/config/global.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cc/config/global.go b/cc/config/global.go index c83835712..9d3de6d68 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -286,6 +286,8 @@ var ( // New warnings to be fixed after clang-r468909 "-Wno-error=deprecated-builtins", // http://b/241601211 "-Wno-error=deprecated", // in external/googletest/googletest + // Disabling until the warning is fixed in libc++abi header files b/366180429 + "-Wno-deprecated-dynamic-exception-spec", // New warnings to be fixed after clang-r475365 "-Wno-error=enum-constexpr-conversion", // http://b/243964282 // New warnings to be fixed after clang-r522817