summaryrefslogtreecommitdiff
path: root/src/third_party/boost-1.69.0/boost/random/detail/disable_warnings.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/boost-1.69.0/boost/random/detail/disable_warnings.hpp')
-rw-r--r--src/third_party/boost-1.69.0/boost/random/detail/disable_warnings.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/third_party/boost-1.69.0/boost/random/detail/disable_warnings.hpp b/src/third_party/boost-1.69.0/boost/random/detail/disable_warnings.hpp
new file mode 100644
index 00000000000..4582dcb1a7d
--- /dev/null
+++ b/src/third_party/boost-1.69.0/boost/random/detail/disable_warnings.hpp
@@ -0,0 +1,29 @@
+/* boost random/detail/disable_warnings.hpp header file
+ *
+ * Copyright Steven Watanabe 2009
+ * 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)
+ *
+ * See http://www.boost.org for most recent version including documentation.
+ *
+ * $Id$
+ *
+ */
+
+// No #include guard. This header is intended to be included multiple times.
+
+#include <boost/config.hpp>
+
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable:4512)
+#pragma warning(disable:4127)
+#pragma warning(disable:4724)
+#pragma warning(disable:4800) // 'int' : forcing value to bool 'true' or 'false' (performance warning)
+#endif
+
+#if defined(BOOST_GCC) && BOOST_GCC >= 40600
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wlogical-op"
+#endif