]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/qi/range_run.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / spirit / test / qi / range_run.cpp
index a7977de55598c9214730a8656350c2f212485ee5..721961e7a6d66d36dd07501d7e125659d0768b4d 100644 (file)
@@ -4,10 +4,19 @@
     Distributed under the Boost Software License, Version 1.0. (See accompanying
     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 ==============================================================================*/
+#include <boost/spirit/home/support/char_set/range_run.hpp>
+
 #include <iostream>
 #include <cctype>
-#include <boost/detail/lightweight_test.hpp>
-#include <boost/spirit/home/support/char_set/range_run.hpp>
+#include <boost/core/lightweight_test.hpp>
+// suppress -Wdeprecated-copy from dynamic_bitset and random
+#if defined(__GNUC__) && __GNUC__ >= 9
+# pragma GCC diagnostic ignored "-Wdeprecated-copy"
+#elif defined(__clang__) && defined(__has_warning)
+# if __has_warning("-Wdeprecated-copy")
+#  pragma clang diagnostic ignored "-Wdeprecated-copy"
+# endif
+#endif
 #include <boost/dynamic_bitset.hpp>
 #include <boost/integer_traits.hpp>
 #if defined(_MSC_VER) && _MSC_VER < 1700