Pb with INT64_MAX in /usr/include/stdint.h (+patch)

zze-BDE balg011 VAUCHER Laurent DvSI/SIReS/GRE openup01@rd.francetelecom.com
Tue Oct 28 16:20:00 GMT 2003


> I've checked a fix into CVS.
> 
> Thanks for pinpointing the exact place that needs to be changed.

  Excuse me if my command of english does not allow me to
understand exactly what you mean. I can't decide if your
'thanks' is in advance for something I should do, or for the
discription I gave earlier.

  Anyway, in my opinion, in file /usr/include/stdint.h
(probably shipped with the gcc package), there are probably
eight lines that should include the LL suffix after integer
literals :

line 74:
#define INT64_MIN (-9223372036854775808)

line 79:
#define INT64_MAX (9223372036854775807)

line 91:
#define INT_LEAST64_MIN (-9223372036854775808)

line 96:
#define INT_LEAST64_MAX (9223372036854775807)

line 108:
#define INT_FAST64_MIN (-9223372036854775808)

line 113:
#define INT_FAST64_MAX (9223372036854775807)

lines 128 and 129:
#define INTMAX_MIN (-9223372036854775808)
#define INTMAX_MAX (9223372036854775807)


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/



More information about the Cygwin mailing list