Re: [Boost-bugs] [Boost C++ Libraries] #4208: Boost::crc fails if Visual C++'s "/RTCc Convert to smaller type checks" is enabled

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4208: Boost::crc fails if Visual C++'s "/RTCc Convert to smaller type checks" is enabled
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-12 13:08:40


#4208: Boost::crc fails if Visual C++'s "/RTCc Convert to smaller type checks" is
enabled
--------------------------+-------------------------------------------------
 Reporter: anonymous | Owner: dlwalker
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: crc
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------

Comment(by steven_watanabe):

 {{{
 x ^ static_cast<unsigned char>(rem)
 }}}

 would be slightly better.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4208#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:03 UTC