]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/system/test/after_main_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / system / test / after_main_test.cpp
index 520f807ffd0867cdb3db5f4aa03712257d6a65d4..588d82fb7fafb92b2850bd2e2fe3ae1c6c4488bf 100644 (file)
@@ -5,8 +5,13 @@
 #include <boost/system/error_code.hpp>
 #include <boost/core/lightweight_test.hpp>
 #include <boost/core/quick_exit.hpp>
+#include <boost/config.hpp>
 #include <cerrno>
 
+#if defined(BOOST_MSVC)
+# pragma warning(disable: 4722) // Z::~Z never returns
+#endif
+
 using namespace boost::system;
 
 struct Z
@@ -27,4 +32,6 @@ static error_code e2( ENOENT, generic_category() );
 
 int main()
 {
+    (void)e1;
+    (void)e2;
 }