[gnutls-dev] size_t, int and 64 bit machines
Simon Josefsson
simon at josefsson.org
Thu Mar 22 09:11:54 CET 2007
Andreas Metzler <ametzler at downhill.at.eu.org> writes:
> On 2007-03-21 Simon Josefsson <simon at josefsson.org> wrote:
> [...]
>> I think that if GNU/Linux on amd64 or ia64 have size_t==8, then we
>> cannot use this escape-route, we'll have to solve this properly. I
>> think GnuTLS is used a lot on many amd64/ia64 systems.
> [...]
>
> Afaict from the respective build logs
> http://buildd.debian.org/fetch.cgi?&pkg=gnutls13&ver=1.4.4-3&arch=ia64&stamp=1163258965&file=log
> and
> http://buildd.debian.org/fetch.cgi?&pkg=gnutls13&ver=1.4.4-3&arch=amd64&stamp=1163258660&file=log
> neither ia64 nor amd64 has a size_t==8; both logs contain:
>
> checking for bit size of size_t... 64
Thanks for the logs. I make that 64/8=8 which means they do have
size_t==8. Thus, I guess we can't just make the switch without
breaking the API/ABI on some systems. More thinking necessary...
/Simon
More information about the Gnutls-dev
mailing list