Re: int128 error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux