This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Ada runtime 64 bit fixes


On Thu, Dec 06, 2001 at 12:02:14AM +0100, Andreas Schwab wrote:
> The POSIX style System.OS_Primitives assumes that time_t == Integer.  This
> is wrong for 64 bit architectures, where time_t is a 64 bit integer.  The
> same is true for the tv_usec member of struct_timeval.  For 32 bit targets
> this should make no difference.

In addition to the problems Rainer noted, Alpha/VMS "C" long is
32-bits wide, while Ada Long_Integer is 64-bits.


r~


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