From c638eabfe078dcb38b5a33c91256e9d9a5289750 Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Mon, 27 May 2024 02:23:24 -0700 Subject: [PATCH] Fix compiler warning --- third_party/libcxx/string | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/third_party/libcxx/string b/third_party/libcxx/string index 4f4a1197e..ef6957200 100644 --- a/third_party/libcxx/string +++ b/third_party/libcxx/string @@ -10,6 +10,9 @@ #ifndef _LIBCPP_STRING #define _LIBCPP_STRING +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" // [jart] + /* string synopsis @@ -4396,4 +4399,6 @@ _LIBCPP_POP_MACROS # include #endif +#pragma GCC diagnostic pop // [jart] + #endif // _LIBCPP_STRING