ambigous bitshift operator for ubig64_t ?

21 Feb
2009
21 Feb
'09
9:47 a.m.
Hi, I'm trying to compile the following code: #include <boost/spirit/home/support/detail/integer/endian.hpp> boost::integer::ubig64_t big_endian_value; big_endian_value >> 1; but I get: error: ambiguous overload for 'operator>>' in 'big_endian_value >> 1' note: candidates are: operator>>(long long unsigned int, int) <built-in> ../../usr/include/boost-1_38/boost/spirit/home/support/detail/integer/cover_operators.hpp:53: note: long long unsigned int boost::integer::operator>>(const boost::integer::endian<big, long long unsigned int, 64u, unaligned>&, long long unsigned int) what am I doing wrong? (BTW, the same works with the >>= operator) I'm doing this on Linux, gcc 4.1.2 Akos
5949
Age (days ago)
5949
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ákos Maróy