This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?

Thanks.

______________________
Dr. Michael J. Gourlay


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]