Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63965 - in sandbox/SOC/2010/bit_masks/boost/integer/detail/bft: . msvc_fixes/msvc9
From: bbartmanboost_at_[hidden]
Date: 2010-07-13 09:40:41


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

Log:
working on fixing a warning put the pragmas in the wrong spot
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/make_bitfield_tuple.hpp | 8 ++++++++
   sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/msvc_fixes/msvc9/msvc_make_bitfield_tuple_fix.hpp | 7 ++++---
   2 files changed, 12 insertions(+), 3 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/make_bitfield_tuple.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/make_bitfield_tuple.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/make_bitfield_tuple.hpp 2010-07-13 09:40:40 EDT (Tue, 13 Jul 2010)
@@ -105,6 +105,10 @@
 
 
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable : 4244)
+#endif
 /** This is a function which is used to assign a value into a bitfield_tuple
  * as well as remove the actual mpl::void_* from the parameter list through
  * specialization.
@@ -120,6 +124,10 @@
 template <std::size_t Index, typename BitfieldTuple>
 inline void assign_parameter_to_bft(BitfieldTuple&, void*) { }
 
+#if BOOST_MSVC
+#pragma warning(pop)
+#endif
+
 } // end detail
 
 

Modified: sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/msvc_fixes/msvc9/msvc_make_bitfield_tuple_fix.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/msvc_fixes/msvc9/msvc_make_bitfield_tuple_fix.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/msvc_fixes/msvc9/msvc_make_bitfield_tuple_fix.hpp 2010-07-13 09:40:40 EDT (Tue, 13 Jul 2010)
@@ -5,8 +5,8 @@
 
 #ifndef BOOST_BFT_MSVC9_MAKE_BFT_FIX_HPP
 #define BOOST_BFT_MSVC9_MAKE_BFT_FIX_HPP
-#pragma warning(push)
-#pragma warning(disable : 4244)
+
+
 namespace boost { namespace detail { namespace msvc_fixes {
 
 /** Used to help generate psudo variadic template paramerer apperance.
@@ -73,5 +73,6 @@
 
 } // end boost::detail::msvc_fixes
 
-#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