PATCH: Fix SIZE_MAX, remove SIZE_MIN
Mark Mitchell
mark@codesourcery.com
Sat May 10 21:02:00 GMT 2008
Jeff Johnston wrote:
> Mark Mitchell wrote:
>> Newlib's <stdint.h> defines SIZE_MAX as a signed quantity equivalent
>> to LONG_MAX. This is incorrect; SIZE_MAX is supposed to be the
>> maximum value of a size_t and, as such, should be equilvalent to
>> ULONG_MAX. Furthermore, <stdint.h> defines SIZE_MIN, which is not a
>> macro specified by the C standard, and, as such, pollutes the user's
>> namespace.
> Ok, thanks.
I finally got around to checking this in.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Newlib
mailing list