diff --git a/gtest-gcc11.patch b/gtest-gcc11.patch index a772e26..85ff110 100644 --- a/gtest-gcc11.patch +++ b/gtest-gcc11.patch @@ -7,7 +7,7 @@ index da09a1c..4d6343f 100644 static void StackLowerThanAddress(const void* ptr, bool* result) { int dummy; +#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wpointer-compare=" ++#pragma GCC diagnostic ignored "-Wpointer-compare" *result = (&dummy < ptr); +#pragma GCC diagnostic push }