|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84355 - trunk/boost/math/special_functions
From: john_at_[hidden]
Date: 2013-05-18 13:54:47
Author: johnmaddock
Date: 2013-05-18 13:54:46 EDT (Sat, 18 May 2013)
New Revision: 84355
URL: http://svn.boost.org/trac/boost/changeset/84355
Log:
Try and suppress msvc warning.
Refs #8584.
Text files modified:
trunk/boost/math/special_functions/fpclassify.hpp | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
Modified: trunk/boost/math/special_functions/fpclassify.hpp
==============================================================================
--- trunk/boost/math/special_functions/fpclassify.hpp (original)
+++ trunk/boost/math/special_functions/fpclassify.hpp 2013-05-18 13:54:46 EDT (Sat, 18 May 2013)
@@ -94,6 +94,11 @@
//
namespace math_detail{
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable:4800)
+#endif
+
template <class T>
inline bool is_nan_helper(T t, const boost::true_type&)
{
@@ -107,6 +112,10 @@
#endif
}
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
+
template <class T>
inline bool is_nan_helper(T, const boost::false_type&)
{
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