On Sun, Sep 11, 2011 at 6:41 PM, Bastien ROUCARIES
<roucaries.bast...@gmail.com> wrote:
> n Sun, Sep 11, 2011 at 6:33 PM, Paul Eggert <egg...@cs.ucla.edu> wrote:
>> On 09/11/11 08:14, Bastien ROUCARIES wrote:
>>> gcc has it : http://gcc.gnu.org/onlinedocs/gcc/_005f_005fint128.html
>>> (at least for 64bits)
>>
>> I'd be leery of any attempt to define a system type wider than
>> intmax_t.
>
> For sure but we could override intmax_t, intmax_t is defined at libc
> level not at compiler level.
>
>>Too many things will break.  It might be OK to use
>> __int128 for specialized internal purposes (cryptography comes
>> to mind), but not for common external interfaces such as uid_t.

Cert document int use for 128bits so it is used

https://www.securecoding.cert.org/confluence/display/cplusplus/INT15-CPP.+Use+intmax_t+or+uintmax_t+for+formatted+IO+on+programmer-defined+integer+types

> For windows it is the only solution due to microsoft uuid scheme.
>
> Bastien
>
>>
>

Reply via email to