Re: [Boost-bugs] [Boost C++ Libraries] #3194: compiler warnings in VC9

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3194: compiler warnings in VC9
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-14 23:22:16


#3194: compiler warnings in VC9
----------------------------------+-----------------------------------------
  Reporter: kfriddile@… | Owner: dlwalker
      Type: Bugs | Status: new
 Milestone: Boost 1.40.0 | Component: crc
   Version: Boost 1.39.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------+-----------------------------------------

Comment (by jonw@…):

 For VS9 I did the following changes to crc.hpp (version 1_44_0) to remove
 the warnings from my code:[[BR]]

 {{{
 line 377: BOOST_STATIC_CONSTANT( least, sig_bits = least( ~0 ) );
 line 400: BOOST_STATIC_CONSTANT( least, sig_bits = least( ~0 ) );
 line 578: { return static_cast< unsigned char >( x ^ rem ); }
 }}}

 Could you please verify if this is appropriate? I know this would need to
 be tested for a great number of compilers/platforms.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3194#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC