]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/bind/test/bind_function_ap_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / bind / test / bind_function_ap_test.cpp
index 378ee217e01c1fd852a7a240a2c27277e4280446..33588df6ab30f6c41ff5770a688c20bc2ffdb5b3 100644 (file)
@@ -1,4 +1,5 @@
 #include <boost/config.hpp>
+#include <boost/config/pragma_message.hpp>
 
 //
 //  bind_function_ap_test.cpp - regression test
 //  http://www.boost.org/LICENSE_1_0.txt
 //
 
-#if defined( BOOST_NO_AUTO_PTR )
+#if defined(BOOST_NO_AUTO_PTR)
 
-int main()
-{
-}
+BOOST_PRAGMA_MESSAGE( "Skipping test because BOOST_NO_AUTO_PTR is defined" )
+int main() {}
+
+#elif !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && ( defined(BOOST_GCC) && BOOST_GCC < 40600 )
+
+BOOST_PRAGMA_MESSAGE( "Skipping test for GCC 4.4 -std=c++0x" )
+int main() {}
 
 #else
 
@@ -233,4 +238,4 @@ int main()
     return boost::report_errors();
 }
 
-#endif // #if defined( BOOST_NO_AUTO_PTR )
+#endif