This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Pb with INT64_MAX in /usr/include/stdint.h (+patch)
- From: "zze-BDE balg011 VAUCHER Laurent DvSI/SIReS/GRE" <openup01 at rd dot francetelecom dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 28 Oct 2003 14:08:37 +0100
- Subject: Pb with INT64_MAX in /usr/include/stdint.h (+patch)
As of today october 28. 2003, I have the latest Cygwin
releases of nearly all packages and gcc refuses to compile
a file containing the line :
int64_t Val = INT64_MAX;
complaining that the literal integer value is too big.
It seems that replacing in stdint.h the line
#define INT64_MAX (9223372036854775807)
by
#define INT64_MAX (9223372036854775807LL)
solves the problem. There are some other #define that
should be patched this way, I think.
Laurent Vaucher.
--
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/