Only use Visual C++ pragma for appropriate versions.

[SVN r86671]
This commit is contained in:
Daniel James
2013-11-12 22:09:42 +00:00
parent b0c83ab93c
commit 3f4d17c5e7

View File

@@ -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