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