From 1e876f9f76d94d731997b8564740be2fd45ae86a Mon Sep 17 00:00:00 2001 From: "Paul A. Bristow" Date: Mon, 9 Feb 2009 15:29:57 +0000 Subject: [PATCH] Warnings disabled. [SVN r51140] --- config/has_mpfr_class.cpp | 7 +++++++ config/has_ntl_rr.cpp | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/config/has_mpfr_class.cpp b/config/has_mpfr_class.cpp index b660f112e..8eb3c7b26 100644 --- a/config/has_mpfr_class.cpp +++ b/config/has_mpfr_class.cpp @@ -1,7 +1,14 @@ // Copyright John Maddock 2008. +// Copyright Paul A. Britow 2009 // Use, modification and distribution are 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) +#ifdef _MSC_VER +# pragma warning (disable : 4127) // conditional expression is constant +# pragma warning (disable : 4800) // 'int' : forcing value to bool 'true' or 'false' (performance warning) +# pragma warning (disable : 4512) // assignment operator could not be generated +#endif + #include diff --git a/config/has_ntl_rr.cpp b/config/has_ntl_rr.cpp index 6d058fa90..f3844217e 100644 --- a/config/has_ntl_rr.cpp +++ b/config/has_ntl_rr.cpp @@ -3,5 +3,10 @@ // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifdef _MSC_VER +# pragma warning (disable : 4100) // unreferenced formal parameter +#endif + #include