]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/TestSignalHandlers.cc
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / test / TestSignalHandlers.cc
index fb307ed9bdf6875534c45e96f1672f3b934ece12..6a5579956e25c6dbc06b7e6ac20d3c1bdc94122f 100644 (file)
@@ -48,8 +48,10 @@ static void simple_segv_test()
 
 // Given the name of the function, we can be pretty sure this is intentional.
 
-#pragma clang diagnostic push
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Winfinite-recursion"
 
+#pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Winfinite-recursion"
 
 static void infinite_recursion_test_impl()
@@ -57,6 +59,7 @@ static void infinite_recursion_test_impl()
   infinite_recursion_test_impl();
 }
 
+#pragma GCC diagnostic pop
 #pragma clang diagnostic pop
 
 static void infinite_recursion_test()