Ugly, not-to-be-pushed sucking in of all of Boost to get windows to work.
[dyninst.git] / external / boost / iostreams / detail / config / disable_warnings.hpp
1 // (C) Copyright Jonathan Turkanis 2003.
2 // Distributed under the Boost Software License, Version 1.0. (See accompanying
3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
4
5 // See http://www.boost.org/libs/iostreams for documentation.
6
7 #include <boost/config.hpp>             // BOOST_MSVC.
8 #include <boost/detail/workaround.hpp>  // BOOST_WORKAROUND.
9
10 #if defined(BOOST_MSVC)
11 # pragma warning(push)
12 # pragma warning(disable:4224)    // Parameter previously defined as type.
13 # pragma warning(disable:4244)    // Conversion: possible loss of data.
14 #else
15 # if BOOST_WORKAROUND(__BORLANDC__, < 0x600)
16 #  pragma warn -8008     // Condition always true/false.
17 #  pragma warn -8071     // Conversion may lose significant digits.
18 #  pragma warn -8080     // identifier declared but never used.
19 # endif
20 #endif
21