source: NonGTP/Boost/boost/iostreams/detail/config/disable_warnings.hpp @ 857

Revision 857, 847 bytes checked in by igarcia, 18 years ago (diff)
Line 
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
Note: See TracBrowser for help on using the repository browser.