Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63962 - sandbox/SOC/2010/bit_masks/boost/integer
From: bbartmanboost_at_[hidden]
Date: 2010-07-13 09:18:32


Author: bbartman
Date: 2010-07-13 09:18:31 EDT (Tue, 13 Jul 2010)
New Revision: 63962
URL: http://svn.boost.org/trac/boost/changeset/63962

Log:
fixing bitfield_tuple this time it has a warning from msvc 9
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp | 10 ++++++++--
   1 files changed, 8 insertions(+), 2 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp 2010-07-13 09:18:31 EDT (Tue, 13 Jul 2010)
@@ -6,6 +6,12 @@
 
 #ifndef BOOST_BITFIELD_TUPLE_HPP
 #define BOOST_BITFIELD_TUPLE_HPP
+#include <boost/config.hpp>
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable : 4512 )
+#endif
+
 #include <boost/integer/detail/bft/template_expansion_macros.hpp>
 #include <boost/integer/detail/bft/bitfield_tuple_impl.hpp>
 #include <boost/bitfield/bitfield.hpp>
@@ -205,6 +211,6 @@
 
 } // end boost
 
-
-
+#ifdef BOOST_MSVC
+#pragma warning(pop)
 #endif


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