]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/math/test/compile_test/poison.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / math / test / compile_test / poison.hpp
index b059399adc5ecbc17332c224aff7d2afe9313090..6d72d9d26a336b9d92643f5db52318e66c4a8ec8 100644 (file)
@@ -8,6 +8,51 @@
 
 #include <cmath>
 #include <math.h>
+
+//
+// As per https://github.com/boostorg/math/issues/126
+// we basically need to include every std lib header we use, otherwise
+// our poisoned macros can break legit std lib code.
+//
+#include <boost/config.hpp>
+#include <valarray>
+#include <complex>
+#include <iosfwd>
+#include <sstream>
+#include <ostream>
+#include <istream>
+#include <utility>
+#include <iomanip>
+#include <typeinfo>
+#include <stdexcept>
+#include <cstddef>
+#include <string>
+#include <cstring>
+#include <cctype>
+#include <limits>
+#include <exception>
+#include <iterator>
+#include <numeric>
+#include <vector>
+#include <algorithm>
+#include <typeinfo>
+#include <memory>
+#include <cerrno>
+#include <functional>
+#ifndef BOOST_NO_CXX11_HDR_FUTURE
+#include <future>
+#endif
+#ifndef BOOST_NO_CXX11_HDR_THREAD
+#include <thread>
+#endif
+#ifndef BOOST_NO_CXX11_HDR_RANDOM
+#include <random>
+#endif
+#ifndef BOOST_NO_CXX11_HDR_CHRONO
+#include <chrono>
+#endif
+#include <map>
+
 //
 // We have to include this *before* poisoning the macros
 // as it needs to be able to use them!