S
santosh
Harald said:It is. However, ...
...C90 does not consider any type other than those four an unsigned
integer type. C90's "unsigned integer type" is what C99 calls a
"standard unsigned integer type", and C90 does not recognise what C99
calls "extended integer types". If the implementation supports some
type that behaves exactly as an integer type would, and is represented
exactly the same way, it still cannot be an integer type according to
the C90's definition.
Hmm, seems pretty restrictive to me. Glad that that was rectified with
C99. I suppose this same restriction would make ptrdiff_t potentially
unusable with objects greater than LONG_MAX bytes, though of course,
objects of that size aren't guaranteed in the first place? Wouldn't an
unsigned ptrdiff_t have been more suitable than a signed one?