enable_warnings.hpp 738 B

123456789101112131415161718
  1. // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
  2. // (C) Copyright 2003-2007 Jonathan Turkanis
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
  5. // See http://www.boost.org/libs/iostreams for documentation.
  6. #if defined(BOOST_MSVC)
  7. # pragma warning(pop)
  8. #else
  9. # if BOOST_WORKAROUND(BOOST_BORLANDC, < 0x600)
  10. # pragma warn .8008 // Condition always true/false.
  11. # pragma warn .8066 // Unreachable code.
  12. # pragma warn .8071 // Conversion may lose significant digits.
  13. # pragma warn .8072 // Suspicious pointer arithmetic.
  14. # pragma warn .8080 // identifier declared but never used.
  15. # endif
  16. #endif