1 | /* boost random/detail/disable_warnings.hpp header file |
2 | * |
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) |
7 | * |
8 | * See http://www.boost.org for most recent version including documentation. |
9 | * |
10 | * $Id$ |
11 | * |
12 | */ |
13 | |
14 | // No #include guard. This header is intended to be included multiple times. |
15 | |
16 | #include <boost/config.hpp> |
17 | |
18 | #ifdef BOOST_MSVC |
19 | #pragma warning(push) |
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) |
24 | #endif |
25 | |
26 | #if defined(BOOST_GCC) && BOOST_GCC >= 40600 |
27 | #pragma GCC diagnostic push |
28 | #pragma GCC diagnostic ignored "-Wlogical-op" |
29 | #endif |
30 | |