]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/gil/test/core/channel/algorithm_channel_relation.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / gil / test / core / channel / algorithm_channel_relation.cpp
index bad3a1d4bc52124c40594882b945fedce073be80..e7c301b7fe753088ed96ee016bbc0bc79608376d 100644 (file)
@@ -31,7 +31,13 @@ void test_channel_relation()
     BOOST_TEST_GT(f.max_v_, f.min_v_);
     BOOST_TEST_NE(f.max_v_, f.min_v_);
     BOOST_TEST_EQ(f.min_v_, f.min_v_);
+#if !defined(BOOST_CLANG) || (__clang_major__ == 3 && __clang_minor__ >= 8)
+    // This particular test fails with optimised build using clang 3.5 or 3.6
+    // for unknown reasons. Volunteers are welcome to debug and confirm it is
+    // either the compiler bug or the library bug:
+    // b2 toolset=clang variant=release cxxstd=11 define=_GLIBCXX_USE_CXX11_ABI=0 libs/gil/test/core/channel//algorithm_channel_relation
     BOOST_TEST_NE(f.min_v_, one); // comparable to integral
+#endif
 }
 
 struct test_channel_value