This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: int128 error
On 3 January 2011 08:36, Touros Spoon wrote:
> Jeffrey,
>
> thanks for the quick response. I actually tried appending LL to the end of
> the value, but the compiler is still complaining, which isnt surprising
> because a test shows that long long has a sizeof of 8 bytes, whereas
> __int128_t reports 16 bytes.
Read the fabulous manual:
http://gcc.gnu.org/onlinedocs/gcc/_005f_005fint128.html
"There is no support in GCC to express an integer constant of type
__int128 for targets having long long integer with less then 128 bit
width."
Since your target's long long is not 128 bits wide, you cannot express
that constant.