mirror of
https://github.com/boostorg/functional.git
synced 2025-08-01 21:44:28 +02:00
Only use Visual C++ pragma for appropriate versions.
[SVN r86671]
This commit is contained in:
@@ -26,11 +26,15 @@
|
|||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
|
|
||||||
|
#if BOOST_MSVC >= 1400
|
||||||
#pragma warning(disable:6295) // Ill-defined for-loop : 'unsigned int' values
|
#pragma warning(disable:6295) // Ill-defined for-loop : 'unsigned int' values
|
||||||
// are always of range '0' to '4294967295'.
|
// are always of range '0' to '4294967295'.
|
||||||
// Loop executes infinitely.
|
// Loop executes infinitely.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
namespace hash_detail
|
namespace hash_detail
|
||||||
|
Reference in New Issue
Block a user