-
Notifications
You must be signed in to change notification settings - Fork 14
Description
- I find the uint128_t be defined as below:
typedef unsigned int uint128_t attribute((mode(TI)));
It can't be complier on my box,I google it for that,on 32-bits system the TI should repalce by the DI.
But after replace the TI by DI, some new errors appeared.
1.1) ambiguous overload for operator<< in uint128_t
when change the defination of uint128_t as
typedef unsigned int uint128_t attribute((mode(DI)));
Then there is new error,the error infomation as below:
/home/feixeyes/include/sdsl/uint128_t.hpp:46: error: ambiguous overload for ��operator<<�� in ��((std::ostream*)os)->std:
:basic_ostream<_CharT, _Traits>::operator<< with _CharT = char, _Traits = std::char_traits << (X[j] >> 60)��
- ambiguous overload for ��operator<<�� in ��ss << t��
There is a similarity error in the util.hpp
template
std::string util::to_string(const T& t)
{
std::stringstream ss;
ss<<t;
return ss.str();
}
System info:
Linux feixeyes-laptop 2.6.32-41-generic #90-Ubuntu SMP Tue May 22 11:31:25 UTC 2012 i686 GNU/LinuxTarget:
i486-linux-gnu
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)