Boost logo

Boost Users :

Subject: [Boost-users] CRC - error: shift count is too large
From: Mike Dalgity (mike.dalgity_at_[hidden])
Date: 2008-12-01 16:59:20


Hi, I'm attempting to get the Boost CRC to compile for a TI C6713 DSP. I'm
using C6000 Code Gen Tools 6.1.6 which is based on EDG. STL implementation is
from Dinkumware.

When I include <boost/crc.hpp> I get the following errors:
"C:/Program Files/boost_1_37_0/boost/crc.hpp", line 286: error: shift count is
too large
          detected during instantiation of
class "boost::detail::high_uint_t<Bits> [with Bits=64U]" at line 433
"C:/Program Files/boost_1_37_0/boost/crc.hpp", line 288: error: shift count is
too large
          detected during instantiation of
class "boost::detail::high_uint_t<Bits> [with Bits=64U]" at line 433

I'm new to Boost so I could use some help figuring this out. I looked at
crc.hpp and high_uint_t appears to be a structure containing two uint_t types
corresponding with the errors. In integer.hpp the uint_t struct does not
evaluate long long. On this architecture a long is 48 bits and long long is 64
bits.

I've only included the header so why is it trying to instantiate a 64 bit type?

Thanks,
Mike


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net