|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86671 - trunk/boost/functional/hash
From: dnljms_at_[hidden]
Date: 2013-11-12 17:09:43
Author: danieljames
Date: 2013-11-12 17:09:42 EST (Tue, 12 Nov 2013)
New Revision: 86671
URL: http://svn.boost.org/trac/boost/changeset/86671
Log:
Only use Visual C++ pragma for appropriate versions.
Text files modified:
trunk/boost/functional/hash/hash.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/boost/functional/hash/hash.hpp
==============================================================================
--- trunk/boost/functional/hash/hash.hpp Tue Nov 12 16:42:08 2013 (r86670)
+++ trunk/boost/functional/hash/hash.hpp 2013-11-12 17:09:42 EST (Tue, 12 Nov 2013) (r86671)
@@ -26,11 +26,15 @@
#if defined(BOOST_MSVC)
#pragma warning(push)
+
+#if BOOST_MSVC >= 1400
#pragma warning(disable:6295) // Ill-defined for-loop : 'unsigned int' values
// are always of range '0' to '4294967295'.
// Loop executes infinitely.
#endif
+#endif
+
namespace boost
{
namespace hash_detail
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