This is the mail archive of the
mailing list for the Cygwin project.
Re: Pb with INT64_MAX in /usr/include/stdint.h (+patch)
On Tue, Oct 28, 2003 at 02:08:37PM +0100, zze-BDE balg011 VAUCHER Laurent DvSI/SIReS/GRE wrote:
>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)
> #define INT64_MAX (9223372036854775807LL)
> solves the problem. There are some other #define that
>should be patched this way, I think.
I've checked a fix into CVS.
Thanks for pinpointing the exact place that needs to be changed.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html