Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64477 - sandbox/SOC/2010/bit_masks/boost/integer
From: bbartmanboost_at_[hidden]
Date: 2010-07-30 13:53:50


Author: bbartman
Date: 2010-07-30 13:53:49 EDT (Fri, 30 Jul 2010)
New Revision: 64477
URL: http://svn.boost.org/trac/boost/changeset/64477

Log:
suppressing cast warning from MSVC
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/high_bits_mask.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/high_bits_mask.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/high_bits_mask.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/high_bits_mask.hpp 2010-07-30 13:53:49 EDT (Fri, 30 Jul 2010)
@@ -20,8 +20,8 @@
 
 #ifdef BOOST_MSVC
 #pragma warning(push)
-#pragma warning(disable : 4309)
-// #pragma warning(disable : 4305)
+#pragma warning(disable : 4309)
+#pragma warning(disable : 4310) // truncation of constant via cast - this is OK.
 namespace detail {
 
     template<typename T, unsigned int Width>


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