summaryrefslogtreecommitdiffstats
path: root/contrib/src/boost/random/detail/disable_warnings.hpp
blob: 8213572f8c54973780c998a602b760178a8c0081 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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