Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64754 - in sandbox/SOC/2010/bit_masks: boost/integer/detail/bitfield_vector lib/integer/test
From: bbartmanboost_at_[hidden]
Date: 2010-08-12 09:38:54


Author: bbartman
Date: 2010-08-12 09:38:52 EDT (Thu, 12 Aug 2010)
New Revision: 64754
URL: http://svn.boost.org/trac/boost/changeset/64754

Log:
working on minor fixes for MSVC
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/detail/bitfield_vector/mask_creator.hpp | 2 +-
   sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2 | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/detail/bitfield_vector/mask_creator.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/detail/bitfield_vector/mask_creator.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/detail/bitfield_vector/mask_creator.hpp 2010-08-12 09:38:52 EDT (Thu, 12 Aug 2010)
@@ -32,7 +32,7 @@
  */
 template <typename Offset, typename Width>
 struct mask_size {
- BOOST_STATIC_ASSERT( Offset::value < 8 );
+ BOOST_STATIC_ASSERT( bool((Offset::value) < 8 ));
     
     typedef typename mpl::if_<
         mpl::greater<

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2 (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2 2010-08-12 09:38:52 EDT (Thu, 12 Aug 2010)
@@ -12,7 +12,7 @@
         <toolset>gcc:<cxxflags>-Wno-long-long
         <toolset>darwin:<cxxflags>-Wextra
         <toolset>darwin:<cxxflags>-Wno-long-long
- <toolset>msvc:<cxxflags>/wd4307
+ <toolset>msvc:<cxxflags>/wd4307 /wd4127
     ;
 
 


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