Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63967 - sandbox/SOC/2010/bit_masks/boost/integer
From: bbartmanboost_at_[hidden]
Date: 2010-07-13 12:38:50


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

Log:
attempting to fix the final warnings under msvc9. trying something slightly different I think I found the first place where the header is being included.
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/bit_width.hpp | 12 ++++++++++--
   sandbox/SOC/2010/bit_masks/boost/integer/integral_mask.hpp | 11 -----------
   2 files changed, 10 insertions(+), 13 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/bit_width.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bit_width.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bit_width.hpp 2010-07-13 12:38:50 EDT (Tue, 13 Jul 2010)
@@ -6,8 +6,16 @@
 
 #ifndef BOOST_INTEGRAL_BIT_WIDTH_HPP
 #define BOOST_INTEGRAL_BIT_WIDTH_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
 
 
 namespace boost {

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:38:50 EDT (Tue, 13 Jul 2010)
@@ -8,18 +8,7 @@
 
 #ifndef BOOST_INTEGRAL_MASK_HPP
 #define BOOST_INTEGRAL_MASK_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