Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-11-21 09:03:16


Author: johnmaddock
Date: 2007-11-21 09:03:16 EST (Wed, 21 Nov 2007)
New Revision: 41278
URL: http://svn.boost.org/trac/boost/changeset/41278

Log:
Apply warning fix for VC8 and later only: earlier versions warn about the warning suppression :-(
Text files modified:
   trunk/boost/type_traits/is_convertible.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/type_traits/is_convertible.hpp
==============================================================================
--- trunk/boost/type_traits/is_convertible.hpp (original)
+++ trunk/boost/type_traits/is_convertible.hpp 2007-11-21 09:03:16 EST (Wed, 21 Nov 2007)
@@ -249,7 +249,10 @@
     static From _m_from;
 #ifdef BOOST_MSVC
 #pragma warning(push)
-#pragma warning(disable:4244 6334)
+#pragma warning(disable:4244)
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#pragma warning(disable:6334)
+#endif
 #endif
     BOOST_STATIC_CONSTANT(bool, value =
         sizeof( _m_check(_m_from) ) == sizeof(::boost::type_traits::yes_type)


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