[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 128-bit uid_t
From: |
Bastien ROUCARIES |
Subject: |
Re: 128-bit uid_t |
Date: |
Sun, 11 Sep 2011 17:14:22 +0200 |
On Sun, Sep 11, 2011 at 4:52 PM, Bruno Haible <address@hidden> wrote:
> Bastien ROUCARIES wrote:
>> Did you know
>> that recent mscv support a limited int128 (named __int128) under
>> 64bits (limited because it does not support divide)? It is quite
>> interesting in order to implement uid_t, gid because every user of a
>> microsoft system is guranted to be mapped in a 128bit integer.
>
> An interesting idea. Does gcc have 128-bit integers as well? (I wouldn't
> like to have features in the msvc port that are not present in the mingw
> port.)
gcc has it : http://gcc.gnu.org/onlinedocs/gcc/_005f_005fint128.html
(at least for 64bits)
> But MSVC 9 does not support it on x86: it gives an error C4235
> <http://msdn.microsoft.com/en-us/library/7e5yy2kb(v=vs.80).aspx>.
Shit it work only for c++ Do you think it is worthwhile to compile c
under mscv with c++ backend ?
Bastien
> Bruno
> --
> In memoriam Georgi Markov <http://en.wikipedia.org/wiki/Georgi_Markov>
>
Re: msvc port: ensure pid_t is defined, Bruno Haible, 2011/09/20