|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51140 - sandbox/math_toolkit/libs/math/config
From: pbristow_at_[hidden]
Date: 2009-02-09 10:29:58
Author: pbristow
Date: 2009-02-09 10:29:57 EST (Mon, 09 Feb 2009)
New Revision: 51140
URL: http://svn.boost.org/trac/boost/changeset/51140
Log:
Warnings disabled.
Text files modified:
sandbox/math_toolkit/libs/math/config/has_mpfr_class.cpp | 7 +++++++
sandbox/math_toolkit/libs/math/config/has_ntl_rr.cpp | 5 +++++
2 files changed, 12 insertions(+), 0 deletions(-)
Modified: sandbox/math_toolkit/libs/math/config/has_mpfr_class.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/config/has_mpfr_class.cpp (original)
+++ sandbox/math_toolkit/libs/math/config/has_mpfr_class.cpp 2009-02-09 10:29:57 EST (Mon, 09 Feb 2009)
@@ -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 <gmpfrxx.h>
Modified: sandbox/math_toolkit/libs/math/config/has_ntl_rr.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/config/has_ntl_rr.cpp (original)
+++ sandbox/math_toolkit/libs/math/config/has_ntl_rr.cpp 2009-02-09 10:29:57 EST (Mon, 09 Feb 2009)
@@ -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 <NTL/RR.h>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk