1234567891011121314151617181920212223242526272829 |
- /* 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
|