Subject: Re: VAX ELF & ARM ELF ansi.h has been changed...
To: Matt Thomas <matt@3am-software.com>
From: Todd Vierling <tv@wasabisystems.com>
List: port-arm
Date: 07/28/2001 10:55:17
On Fri, 27 Jul 2001, Matt Thomas wrote:
: _BSD_CLOCK_T unsigned int unsigned long int
: _BSD_PTRDIFF_T long int int
: _BSD_SIZE_T unsigned long int unsigned int
: _BSD_SSIZE_T long int int
: _BSD_TIME_T int long int
:
: This will make programs easier to compile under LP64 platforms
: (like alpha or sparc64 or mips64).
This is an invalid argument; please see my earlier message on this subject.
All this does is make it easier for people to write sloppy, unportable code.
But if you're making this change, make sure you're updating gcc to tell it
that the definitions of SIZE_TYPE and PTRDIFF_TYPE have changed on these
platforms; it does in fact care about the primitive type correlation for a
given arch.
--
-- Todd Vierling <tv@wasabisystems.com> * Wasabi NetBSD: Run with it.
-- NetBSD 1.5 now available on CD-ROM -- http://www.wasabisystems.com/