From f4801135a665305efa49e73b8b0ccf8c872a1725 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Mon, 12 Aug 2024 23:53:30 +0800 Subject: [PATCH] Remove workaround for old libc++ We now have a modern libc++, and no longer needs to explicitly turn off deprecated-dynamic-exception-spec warning for it. Test: presubmit Change-Id: Ie282b32ed9ac2b0246fd8245f4c5d29526cbda76 --- cc/config/global.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cc/config/global.go b/cc/config/global.go index 9e3919042..c533b6afa 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -293,13 +293,6 @@ var ( "-Wno-error=invalid-offsetof", "-Wno-error=thread-safety-reference-return", - // Irrelevant on Android because _we_ don't use exceptions, but causes - // lots of build noise because libcxx/libcxxabi do. This can probably - // go away when we're on a new enough libc++, but has to be global - // until then because it causes warnings in the _callers_, not the - // project itself. - "-Wno-deprecated-dynamic-exception-spec", - // Allow using VLA CXX extension. "-Wno-vla-cxx-extension", }