From 03f951e92fcbef9542a3687aa50471b8d70fd334 Mon Sep 17 00:00:00 2001 From: "Paul A. Bristow" Date: Wed, 19 Sep 2007 15:55:17 +0000 Subject: [PATCH] Warning suppression [SVN r39390] --- test/test_remez.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/test_remez.cpp b/test/test_remez.cpp index 1460e0c46..9c717b283 100644 --- a/test/test_remez.cpp +++ b/test/test_remez.cpp @@ -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 #include #include #include + void test_polynomial() { double (*f)(double) = boost::math::expm1;