This is the mail archive of the
mailing list for the Cygwin project.
INT64_MAX incorrectly defined in stdint.h
- From: "Mija Gourlay" <mijagourlay at earthlink dot net>
- To: <cygwin at cygwin dot com>
- Date: Mon, 19 Jan 2004 11:59:29 -0500
- Subject: INT64_MAX incorrectly defined in stdint.h
I noticed that the release notes for today's new release claims the following:
- Correctly define *64_MAX. (Corinna Vinschen)
I have the latest version, as far as I know, since I ran "update" today.
First, I noticed no change to stdint.h. Second, I noticed that INT64_MAX is
still incorrectly defined:
stdint.h:79:#define INT64_MAX (9223372036854775807)
This literal should have a "LL" suffix. Otherwise, compiling the following
code generates an error:
int64_t i64Max = INT64_MAX ;
warning: integer constant is too large for "long" type
So... I'm confused. Has stdint.h been updated? If so, why didn't I get it
today when I updated Cygwin? If not, where, exactly, did the *64_MAX macros
get "correctly defined", as the release notes indicate?
Dr. Michael J. Gourlay
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html