This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Move sysdeps/x86_64/Implies to sysdeps/x86_64/64


On 04/07/2012 08:19 AM, Joseph S. Myers wrote:
> (We also need a clear statement of what the __WORDSIZE define from 
> bits/wordsize.h means.  Given the uses in stdint.h, and existing practice 
> for MIPS for example, I think it's "long is 64-bit".)

In that case shouldn't it be called __LONGSIZE?

>From the comments in bits/types.h, __WORDSIZE is intended to be the
size of the "natural word", a slippery concept.  It may be time to
bite the bullet, and to rename __WORDSIZE to __LONGSIZE so that its
meaning is clear, and to substitute something else in any place
where the code is dealing with something other than 'long'.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]