RE: [RFC] Support for HP NonStop
From: Joachim Schmitz <hidden>
Date: 2016-06-15 22:54:48
From: Jan Engelhardt [mailto:jengelh@inai.de] Sent: Wednesday, September 19, 2012 9:24 AM To: Joachim Schmitz Cc: 'Junio C Hamano'; git@vger.kernel.org Subject: RE: [RFC] Support for HP NonStop On Friday 2012-08-24 22:43, Joachim Schmitz wrote:quoted
quoted
By the way, is "int" wide enough [for intptr_t/uintptr_t], or should they be "long"?int and long have the same size, 32-bit, here on NonStop. But we do have 64-bit types too. Not sure which to take though.intptr_t is supposed to hold a void * pointer, so should be at least as big.
OK, thanks. We are on IA64 but still use the ILP32 model (so 32bit pointers. Support for LP64 has been added recently, but isn't the default. However, long changes from 32bit to 64 bit when changing from ILP32 to LP64, so is the save bet here, right?