Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50656 - sandbox/math_toolkit/libs/math/test
From: pbristow_at_[hidden]
Date: 2009-01-17 12:30:04


Author: pbristow
Date: 2009-01-17 12:30:04 EST (Sat, 17 Jan 2009)
New Revision: 50656
URL: http://svn.boost.org/trac/boost/changeset/50656

Log:
Warning suppression

Text files modified:
   sandbox/math_toolkit/libs/math/test/test_bernoulli.cpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: sandbox/math_toolkit/libs/math/test/test_bernoulli.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_bernoulli.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_bernoulli.cpp 2009-01-17 12:30:04 EST (Sat, 17 Jan 2009)
@@ -10,6 +10,12 @@
 
 // Basic sanity test for Bernoulli Cumulative Distribution Function.
 
+#ifdef _MSC_VER
+# pragma warning (disable : 4535) // calling _set_se_translator() requires /EHa
+# pragma warning (disable : 4244) // converion possible loss of data
+# pragma warning (disable : 4996) // 'putenv': The POSIX name for this item is deprecated
+#endif
+
 // Default domain error policy is
 // #define BOOST_MATH_DOMAIN_ERROR_POLICY throw_on_error
 


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