Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64478 - in sandbox/SOC/2010/bit_masks: . lib/integer/test
From: bbartmanboost_at_[hidden]
Date: 2010-07-30 14:18:09


Author: bbartman
Date: 2010-07-30 14:18:09 EDT (Fri, 30 Jul 2010)
New Revision: 64478
URL: http://svn.boost.org/trac/boost/changeset/64478

Log:
trying to fix msvc warning issues
Text files modified:
   sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2 | 1 +
   sandbox/SOC/2010/bit_masks/notes.txt | 26 +++++++++++++-------------
   2 files changed, 14 insertions(+), 13 deletions(-)

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-07-30 14:18:09 EDT (Fri, 30 Jul 2010)
@@ -12,6 +12,7 @@
         <toolset>gcc:<cxxflags>-Wno-long-long
         <toolset>darwin:<cxxflags>-Wextra
         <toolset>darwin:<cxxflags>-Wno-long-long
+ <toolset>msvc:<cxxflags>/wd4307
     ;
 
 

Modified: sandbox/SOC/2010/bit_masks/notes.txt
==============================================================================
--- sandbox/SOC/2010/bit_masks/notes.txt (original)
+++ sandbox/SOC/2010/bit_masks/notes.txt 2010-07-30 14:18:09 EDT (Fri, 30 Jul 2010)
@@ -121,19 +121,19 @@
 --------------------------------------------------------------------------------
                                 MSVC warnings
 --------------------------------------------------------------------------------
-done - high_bit_mask_test.cpp(30) : warning C4127: conditional expression is constant
-Attempt - bitfield_orignal.hpp(90) : warning C4244: 'return' : conversion from 'unsigned int' to 'unsigned char', possible loss of data
-Attempt - bitfield_orignal.hpp(80) : warning C4244: 'return' : conversion from 'unsigned int' to 'char', possible loss of data
-Attempt - bitfield_orignal.hpp(82) : warning C4244: 'return' : conversion from 'unsigned int' to 'char', possible loss of data
-Attempt - bitfield_orignal.hpp(196) : warning C4245: 'initializing' : conversion from 'int' to 'const unsigned char', signed/unsigned mismatch
-Attempt - bits_mask.hpp(34) : warning C4293: '<<' : shift count negative or too big, undefined behavior
-Attempt - high_bits_mask.hpp(30) : warning C4305: 'initializing' : truncation from 'const boost::mpl::size_t<N>::value_type' to 'const unsigned char'
-can't fix :( - integral_wrapper.hpp(72) : warning C4307: '+' : integral constant overflow
-can't fix :( - integral_wrapper.hpp(73) : warning C4307: '-' : integral constant overflow
-Attempt - bits_mask.hpp(37) : warning C4307: '+' : integral constant overflow
-Attempt - policy_creation_detail.hpp(76) : warning C4309: 'specialization' : truncation of constant value
-Attempt - bitfield_orignal.hpp(179) : warning C4309: 'specialization' : truncation of constant value
-Attempt - bitfield_orignal.hpp(90) : warning C4800: 'unsigned char' : forcing value to bool 'true' or 'false' (performance warning)
+done - high_bit_mask_test.cpp(30) : warning C4127: conditional expression is constant
+Attempt - bitfield_orignal.hpp(90) : warning C4244: 'return' : conversion from 'unsigned int' to 'unsigned char', possible loss of data
+Attempt - bitfield_orignal.hpp(80) : warning C4244: 'return' : conversion from 'unsigned int' to 'char', possible loss of data
+Attempt - bitfield_orignal.hpp(82) : warning C4244: 'return' : conversion from 'unsigned int' to 'char', possible loss of data
+Attempt - bitfield_orignal.hpp(196) : warning C4245: 'initializing' : conversion from 'int' to 'const unsigned char', signed/unsigned mismatch
+Attempt - bits_mask.hpp(34) : warning C4293: '<<' : shift count negative or too big, undefined behavior
+Attempt - high_bits_mask.hpp(30) : warning C4305: 'initializing' : truncation from 'const boost::mpl::size_t<N>::value_type' to 'const unsigned char'
+can't fix :( - integral_wrapper.hpp(72) : warning C4307: '+' : integral constant overflow
+can't fix :( - integral_wrapper.hpp(73) : warning C4307: '-' : integral constant overflow
+Attempt - bits_mask.hpp(37) : warning C4307: '+' : integral constant overflow
+Attempt - policy_creation_detail.hpp(76) : warning C4309: 'specialization' : truncation of constant value
+Attempt - bitfield_orignal.hpp(179) : warning C4309: 'specialization' : truncation of constant value
+Attempt - bitfield_orignal.hpp(90) : warning C4800: 'unsigned char' : forcing value to bool 'true' or 'false' (performance warning)
 --------------------------------------------------------------------------------
 
 


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