This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: patches for Irix binutils 2.18 -- removal of some casts


Um, tangential question:


Is it essentially guaranteed that sizeof(size_t) == sizeof(void*)?
But theoretically not, right?
I mean, you know, I wonder, in the absence of widespread C99 support, what to store pointers in if I really want an integer, and later back to a pointer, with no loss. Long is not it, it is wrong on Win64.


size_t is correct on Win32 and Win64, and I /suspect/ all present and future-forseeable systems.
I think it might have been write on some older systems.


 - Jay


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