Boost logo

Boost-Commit :

From: pbristow_at_[hidden]
Date: 2007-09-19 11:55:20


Author: pbristow
Date: 2007-09-19 11:55:17 EDT (Wed, 19 Sep 2007)
New Revision: 39390
URL: http://svn.boost.org/trac/boost/changeset/39390

Log:
Warning suppression

Text files modified:
   sandbox/math_toolkit/libs/math/test/test_remez.cpp | 10 +++++++++-
   1 files changed, 9 insertions(+), 1 deletions(-)

Modified: sandbox/math_toolkit/libs/math/test/test_remez.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_remez.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_remez.cpp 2007-09-19 11:55:17 EDT (Wed, 19 Sep 2007)
@@ -1,13 +1,21 @@
-// (C) Copyright John Maddock 2006.
+// Copyright John Maddock 2006
+// Copyright Paul A. Bristow 2007
 // 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 : 4267) // conversion from 'size_t' to 'const unsigned int', possible loss of data
+# pragma warning(disable : 4180) // qualifier applied to function type has no meaning; ignored
+# pragma warning(disable : 4224) // nonstandard extension used : formal parameter 'function_ptr' was previously defined as a type
+#endif
+
 #include <boost/math/tools/remez.hpp>
 #include <boost/test/included/test_exec_monitor.hpp>
 #include <boost/test/floating_point_comparison.hpp>
 #include <boost/math/special_functions/expm1.hpp>
 
+
 void test_polynomial()
 {
    double (*f)(double) = boost::math::expm1;


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