Make the patch work with gcc-10 as well

epel9
Jeff Law 4 years ago
parent 2f2fa40ea7
commit 41e5efd7ad

@ -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
}

Loading…
Cancel
Save