Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75585 - trunk/boost/math/tools
From: john_at_[hidden]
Date: 2011-11-21 04:46:35


Author: johnmaddock
Date: 2011-11-21 04:46:33 EST (Mon, 21 Nov 2011)
New Revision: 75585
URL: http://svn.boost.org/trac/boost/changeset/75585

Log:
Warning suppression.
Text files modified:
   trunk/boost/math/tools/precision.hpp | 9 +++++++++
   1 files changed, 9 insertions(+), 0 deletions(-)

Modified: trunk/boost/math/tools/precision.hpp
==============================================================================
--- trunk/boost/math/tools/precision.hpp (original)
+++ trunk/boost/math/tools/precision.hpp 2011-11-21 04:46:33 EST (Mon, 21 Nov 2011)
@@ -181,6 +181,11 @@
 
 } // namespace detail
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable:4309)
+#endif
+
 template <class T>
 inline T log_max_value(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T))
 {
@@ -226,6 +231,10 @@
 #endif
 }
 
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
+
 template <class T>
 inline T epsilon(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE_SPEC(T))
 {


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