]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/config/warning_disable.hpp
Add forgotten test to distribution
[lyx.git] / boost / boost / config / warning_disable.hpp
index 8fd46ff73abbd43a15f1c52acaaacb45d38a2308..fea8e829f149b22c282f4362e6310b965afc18ff 100644 (file)
@@ -1,47 +1,47 @@
-//  Copyright John Maddock 2008\r
-//  Use, modification, and distribution is subject to the Boost Software\r
-//  License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at\r
-//  http://www.boost.org/LICENSE_1_0.txt)\r
-//\r
-//  This file exists to turn off some overly-pedantic warning emitted\r
-//  by certain compilers.  You should include this header only in:\r
-//\r
-//  * A test case, before any other headers, or,\r
-//  * A library source file before any other headers.\r
-//\r
-//  IT SHOULD NOT BE INCLUDED BY ANY BOOST HEADER.\r
-//\r
-//  YOU SHOULD NOT INCLUDE IT IF YOU CAN REASONABLY FIX THE WARNING.\r
-//\r
-//  The only warnings disabled here are those that are:\r
-//\r
-//  * Quite unreasonably pedantic.\r
-//  * Generally only emitted by a single compiler.\r
-//  * Can't easily be fixed: for example if the vendors own std lib \r
-//    code emits these warnings!\r
-//\r
-//  Note that THIS HEADER MUST NOT INCLUDE ANY OTHER HEADERS:\r
-//  not even std library ones!  Doing so may turn the warning\r
-//  off too late to be of any use.  For example the VC++ C4996\r
-//  warning can be omitted from <iosfwd> if that header is included\r
-//  before or by this one :-(\r
-//\r
-\r
-#ifndef BOOST_CONFIG_WARNING_DISABLE_HPP\r
-#define BOOST_CONFIG_WARNING_DISABLE_HPP\r
-\r
-#if defined(_MSC_VER) && (_MSC_VER >= 1400) \r
-   // Error 'function': was declared deprecated\r
-   // http://msdn2.microsoft.com/en-us/library/ttcz0bys(VS.80).aspx\r
-   // This error is emitted when you use some perfectly conforming\r
-   // std lib functions in a perfectly correct way, and also by\r
-   // some of Microsoft's own std lib code !\r
-#  pragma warning(disable:4996)\r
-#endif\r
-#if defined(__INTEL_COMPILER) || defined(__ICL)\r
-   // As above: gives warning when a "deprecated"\r
-   // std library function is encountered.\r
-#  pragma warning(disable:1786)\r
-#endif\r
-\r
-#endif // BOOST_CONFIG_WARNING_DISABLE_HPP\r
+//  Copyright John Maddock 2008
+//  Use, modification, and distribution is subject to 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)
+//
+//  This file exists to turn off some overly-pedantic warning emitted
+//  by certain compilers.  You should include this header only in:
+//
+//  * A test case, before any other headers, or,
+//  * A library source file before any other headers.
+//
+//  IT SHOULD NOT BE INCLUDED BY ANY BOOST HEADER.
+//
+//  YOU SHOULD NOT INCLUDE IT IF YOU CAN REASONABLY FIX THE WARNING.
+//
+//  The only warnings disabled here are those that are:
+//
+//  * Quite unreasonably pedantic.
+//  * Generally only emitted by a single compiler.
+//  * Can't easily be fixed: for example if the vendors own std lib 
+//    code emits these warnings!
+//
+//  Note that THIS HEADER MUST NOT INCLUDE ANY OTHER HEADERS:
+//  not even std library ones!  Doing so may turn the warning
+//  off too late to be of any use.  For example the VC++ C4996
+//  warning can be emitted from <iosfwd> if that header is included
+//  before or by this one :-(
+//
+
+#ifndef BOOST_CONFIG_WARNING_DISABLE_HPP
+#define BOOST_CONFIG_WARNING_DISABLE_HPP
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1400) 
+   // Error 'function': was declared deprecated
+   // http://msdn2.microsoft.com/en-us/library/ttcz0bys(VS.80).aspx
+   // This error is emitted when you use some perfectly conforming
+   // std lib functions in a perfectly correct way, and also by
+   // some of Microsoft's own std lib code !
+#  pragma warning(disable:4996)
+#endif
+#if defined(__INTEL_COMPILER) || defined(__ICL)
+   // As above: gives warning when a "deprecated"
+   // std library function is encountered.
+#  pragma warning(disable:1786)
+#endif
+
+#endif // BOOST_CONFIG_WARNING_DISABLE_HPP