warning suppression for vc7

[SVN r13209]
This commit is contained in:
Dave Abrahams
2002-03-15 14:15:28 +00:00
parent 9994e68bc8
commit 318bcae72e

View File

@ -331,7 +331,7 @@ struct is_volatile<const volatile void>
template <typename T>
struct add_const
{
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1200
#if defined(BOOST_MSVC)
// This bogus warning will appear when add_const is applied to a
// const volatile reference because we can't detect const volatile
// references with MSVC6.
@ -339,7 +339,7 @@ struct add_const
# pragma warning(disable:4181) // warning C4181: qualifier applied to reference type ignored
#endif
typedef T const type;
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1200
#if defined(BOOST_MSVC)
# pragma warning(pop)
#endif
};
@ -350,7 +350,7 @@ struct add_const
template <typename T>
struct add_volatile
{
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1200
#if defined(BOOST_MSVC)
// This bogus warning will appear when add_volatile is applied to a
// const volatile reference because we can't detect const volatile
// references with MSVC6.
@ -358,7 +358,7 @@ struct add_volatile
# pragma warning(disable:4181) // warning C4181: qualifier applied to reference type ignored
#endif
typedef T volatile type;
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1200
#if defined(BOOST_MSVC)
# pragma warning(pop)
#endif
};
@ -369,7 +369,7 @@ struct add_volatile
template <typename T>
struct add_cv
{
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1200
#if defined(BOOST_MSVC)
// This bogus warning will appear when add_volatile is applied to a
// const volatile reference because we can't detect const volatile
// references with MSVC6.
@ -377,7 +377,7 @@ struct add_cv
# pragma warning(disable:4181) // warning C4181: qualifier applied to reference type ignored
#endif
typedef T const volatile type;
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1200
#if defined(BOOST_MSVC)
# pragma warning(pop)
#endif
};