From 318bcae72ea89c4b99c44426a5236bce9ab1eab7 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 15 Mar 2002 14:15:28 +0000 Subject: [PATCH] warning suppression for vc7 [SVN r13209] --- include/boost/type_traits/cv_traits.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/boost/type_traits/cv_traits.hpp b/include/boost/type_traits/cv_traits.hpp index 1644cc7..b10eac6 100644 --- a/include/boost/type_traits/cv_traits.hpp +++ b/include/boost/type_traits/cv_traits.hpp @@ -331,7 +331,7 @@ struct is_volatile template 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 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 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 };