This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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]

INTMAX_C macro buggy?


Hi,

The current definition for INTMAX_C AND UINT_MAX_C appear to be wrong:

they are defined as:

/* Macros for greatest-width integer constant expressions */

#define INTMAX_C(x) x ## L

#define UINTMAX_C(x) x ## UL

But intmax_t is a long long, so these should really be appending a LL or ULL
suffix.

Regards,

John Maddock.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]