pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] Re: GigaNews warns "Usenet Growth Reveals Need for 64-bi


From: Zan Lynx
Subject: Re: [Pan-users] Re: GigaNews warns "Usenet Growth Reveals Need for 64-bit Based Article Numbering"
Date: Mon, 25 Aug 2008 10:12:05 -0600
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Duncan wrote:
> Beso <address@hidden> posted
> address@hidden, excerpted
> below, on  Mon, 25 Aug 2008 16:06:13 +0200:
> 
>> this might mean quite a big trouble with klibido too...
> 
> Indeed... and probably thunderbird and claws and knode and... and...
> 
> BTW, "long" is 32-bit on x86_64 too, right?  Or is it 64-bit?  I know the 
> addresses are 64-bit, but if I'm not mistaken, one of the porting issues 
> was that a lot of software expected memory addresses to be unsigned long 
> and on 64-bit, they're not, but rather unsigned long long, or /something/ 
> like that.  Did I get it right?  And plain int, is that 16-bit, or 32?
> 

It depends on the OS that you are using.  On Linux x86_64, long is 64
bits.  On Windows, long is 32 bits.

The C99 types such as uint32_t, int64_t, etc. are the way to go if bits
matter.  If you need an int that can hold a pointer, use intptr_t.

Most C/C++ compilers lower than C99 have these types as well, but under
slightly different names.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiy2dUACgkQolqWs/Y4NLzhlgCdHakzPUlolXsjVtpDdgnZKTqE
JMcAn3P3hrz69OGG+8DYh7hJKeogLA5t
=EQiz
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]