Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50633 - sandbox/math_toolkit/libs/math/test
From: pbristow_at_[hidden]
Date: 2009-01-16 10:44:16


Author: pbristow
Date: 2009-01-16 10:44:16 EST (Fri, 16 Jan 2009)
New Revision: 50633
URL: http://svn.boost.org/trac/boost/changeset/50633

Log:
warning suppression
Text files modified:
   sandbox/math_toolkit/libs/math/test/test_beta.cpp | 8 +++++++-
   sandbox/math_toolkit/libs/math/test/test_beta_dist.cpp | 5 ++++-
   2 files changed, 11 insertions(+), 2 deletions(-)

Modified: sandbox/math_toolkit/libs/math/test/test_beta.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_beta.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_beta.cpp 2009-01-16 10:44:16 EST (Fri, 16 Jan 2009)
@@ -1,10 +1,16 @@
 // Copyright John Maddock 2006.
-// Copyright Paul A. Bristow 2007
+// Copyright Paul A. Bristow 2007, 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 : 4996) // POSIX name for this item is deprecated
+# pragma warning (disable : 4224) // nonstandard extension used : formal parameter 'arg' was previously defined as a type
+# pragma warning (disable : 4180) // qualifier applied to function type has no meaning; ignored
+#endif
+
 #include <pch.hpp>
 
 #include <boost/math/concepts/real_concept.hpp>

Modified: sandbox/math_toolkit/libs/math/test/test_beta_dist.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_beta_dist.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_beta_dist.cpp 2009-01-16 10:44:16 EST (Fri, 16 Jan 2009)
@@ -1,7 +1,7 @@
 // test_beta_dist.cpp
 
 // Copyright John Maddock 2006.
-// Copyright Paul A. Bristow 2007.
+// Copyright Paul A. Bristow 2007, 2009.
 
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0.
@@ -28,6 +28,9 @@
 
 #ifdef _MSC_VER
 # pragma warning(disable: 4127) // conditional expression is constant.
+# pragma warning (disable : 4996) // POSIX name for this item is deprecated
+# pragma warning (disable : 4224) // nonstandard extension used : formal parameter 'arg' was previously defined as a type
+# pragma warning (disable : 4180) // qualifier applied to function type has no meaning; ignored
 #endif
 
 #include <boost/math/concepts/real_concept.hpp> // for real_concept


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