1 /* boost random/detail/disable_warnings.hpp header file
3 * Copyright Steven Watanabe 2009
4 * Distributed under the Boost Software License, Version 1.0. (See
5 * accompanying file LICENSE_1_0.txt or copy at
6 * http://www.boost.org/LICENSE_1_0.txt)
8 * See http://www.boost.org for most recent version including documentation.
14 // No #include guard. This header is intended to be included multiple times.
16 #include <boost/config.hpp>
20 #pragma warning(disable:4512)
21 #pragma warning(disable:4127)
22 #pragma warning(disable:4724)
23 #pragma warning(disable:4800) // 'int' : forcing value to bool 'true' or 'false' (performance warning)
26 #if defined(BOOST_GCC) && BOOST_GCC >= 40600
27 #pragma GCC diagnostic push
28 #pragma GCC diagnostic ignored "-Wlogical-op"