This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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] |
On Fri, 24 Apr 2009, Gregory Pietsch wrote: > Would > > #define UINTPTR_MAX ((PTRDIFF_MAX << 1) + 1) No, that expression has a signed type and UINTPTR_MAX must have an unsigned type, namely uintptr_t, and must also be usable in preprocessor #if expressions so you can't use a cast to uintptr_t. -- Joseph S. Myers joseph@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |