annotate DEPENDENCIES/generic/include/boost/random/detail/disable_warnings.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 /* boost random/detail/disable_warnings.hpp header file
Chris@16 2 *
Chris@16 3 * Copyright Steven Watanabe 2009
Chris@16 4 * Distributed under the Boost Software License, Version 1.0. (See
Chris@16 5 * accompanying file LICENSE_1_0.txt or copy at
Chris@16 6 * http://www.boost.org/LICENSE_1_0.txt)
Chris@16 7 *
Chris@16 8 * See http://www.boost.org for most recent version including documentation.
Chris@16 9 *
Chris@101 10 * $Id$
Chris@16 11 *
Chris@16 12 */
Chris@16 13
Chris@16 14 // No #include guard. This header is intended to be included multiple times.
Chris@16 15
Chris@16 16 #include <boost/config.hpp>
Chris@16 17
Chris@16 18 #ifdef BOOST_MSVC
Chris@16 19 #pragma warning(push)
Chris@16 20 #pragma warning(disable:4512)
Chris@16 21 #pragma warning(disable:4127)
Chris@16 22 #pragma warning(disable:4724)
Chris@101 23 #pragma warning(disable:4800) // 'int' : forcing value to bool 'true' or 'false' (performance warning)
Chris@16 24 #endif
Chris@101 25
Chris@101 26 #if defined(BOOST_GCC) && BOOST_GCC >= 40600
Chris@101 27 #pragma GCC diagnostic push
Chris@101 28 #pragma GCC diagnostic ignored "-Wlogical-op"
Chris@101 29 #endif