Subject: Re: SIZE_T_MAX Problem
To: None <>
From: Valeriy E. Ushakov <>
List: current-users
Date: 08/18/2003 04:41:27
On Mon, Aug 18, 2003 at 10:36:43 +1000, Simon Burge wrote:

> SUSv3 doesn't mention SIZE_T_MAX.  It does mention SIZE_MAX (which
> should be in <stdint.h>) which we do support in 1.6 but not 1.5.
> I'd suggest that we use SIZE_MAX in our sources, and let the compat goop
> define that in terms of SIZE_T_MAX if SIZE_MAX doesn't exist.  Sound
> good?

SIZE_MAX is also standard C.  C99 defines SIZE_MAX, "limit of size_t",
in 7.18.3 "Limits of other integer types".

SY, Uwe
--                         |       Zu Grunde kommen            |       Ist zu Grunde gehen