]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/function/test/function_test.cpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / libs / function / test / function_test.cpp
index 02a60cefdc8e9a80df192ddfeb0a94aaa17a1db9..cce4365ff733586378d3d8a48c2469d3a536e2e1 100644 (file)
@@ -629,6 +629,17 @@ test_ref()
   }
 }
 
+#if BOOST_WORKAROUND(BOOST_GCC, >= 70000 && BOOST_GCC < 80000) && __cplusplus >= 201700
+
+// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81311
+#pragma message("Skipping test_empty_ref on g++ 7 -std=c++17")
+
+static void test_empty_ref()
+{
+}
+
+#else
+
 static void dummy() {}
 
 static void test_empty_ref()
@@ -652,6 +663,8 @@ static void test_empty_ref()
   }
 }
 
+#endif
+
 
 static void test_exception()
 {