diff -Nur povray-3.7.0.8-checkout.orig/source/boost/math/tools/header_deprecated.hpp povray-3.7.0.8-checkout.new/source/boost/math/tools/header_deprecated.hpp --- povray-3.7.0.8-checkout.orig/source/boost/math/tools/header_deprecated.hpp 1970-01-01 01:00:00.000000000 +0100 +++ povray-3.7.0.8-checkout.new/source/boost/math/tools/header_deprecated.hpp 2022-02-07 21:13:43.531100547 +0100 @@ -0,0 +1,27 @@ +// (C) Copyright Matt Borland 2021. +// Use, modification and distribution are subject to 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) + +#ifndef BOOST_MATH_TOOLS_HEADER_DEPRECATED +#define BOOST_MATH_TOOLS_HEADER_DEPRECATED + +#ifndef BOOST_MATH_STANDALONE + +# include +# define BOOST_MATH_HEADER_DEPRECATED(expr) BOOST_HEADER_DEPRECATED(expr) + +#else + +# ifdef _MSC_VER +// Expands to "This header is deprecated; use expr instead." +# define BOOST_MATH_HEADER_DEPRECATED(expr) __pragma("This header is deprecated; use " expr " instead.") +# else // GNU, Clang, Intel, IBM, etc. +// Expands to "This header is deprecated use expr instead" +# define BOOST_MATH_HEADER_DEPRECATED_MESSAGE(expr) _Pragma(#expr) +# define BOOST_MATH_HEADER_DEPRECATED(expr) BOOST_MATH_HEADER_DEPRECATED_MESSAGE(message "This header is deprecated use " expr " instead") +# endif + +#endif // BOOST_MATH_STANDALONE + +#endif // BOOST_MATH_TOOLS_HEADER_DEPRECATED