This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
INTMAX_C macro buggy?
- From: "John Maddock" <john at johnmaddock dot co dot uk>
- To: <cygwin at cygwin dot com>
- Date: Wed, 14 Jan 2004 11:52:49 -0000
- Subject: 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/