Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63966 - sandbox/SOC/2010/bit_masks/boost/integer
From: bbartmanboost_at_[hidden]
Date: 2010-07-13 12:34:40


Author: bbartman
Date: 2010-07-13 12:34:39 EDT (Tue, 13 Jul 2010)
New Revision: 63966
URL: http://svn.boost.org/trac/boost/changeset/63966

Log:
attempting to fix the final warnings under msvc9
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/integral_mask.hpp | 13 ++++++++++++-
   1 files changed, 12 insertions(+), 1 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/integral_mask.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/integral_mask.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/integral_mask.hpp 2010-07-13 12:34:39 EDT (Tue, 13 Jul 2010)
@@ -8,7 +8,18 @@
 
 #ifndef BOOST_INTEGRAL_MASK_HPP
 #define BOOST_INTEGRAL_MASK_HPP
-#include <boost/type_traits.hpp>
+#include <boost/config.hpp>
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable : 4307)
+#pragma warning(disable : 4309)
+#endif
+
+#include <boost/type_traits/integral_constant.hpp>
+
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 #include <boost/static_assert.hpp>
 #include <boost/integer/bit_width.hpp>
 #include <limits>


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