Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
content-class: urn:content-classes:message
Subject: Pb with INT64_MAX in /usr/include/stdint.h (+patch)
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
Date: Tue, 28 Oct 2003 14:08:37 +0100
Message-ID: <3418F3471F1CA4409901547349FFAE2E0BBF01@ftrdmel2.rd.francetelecom.fr>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
From: "zze-BDE balg011 VAUCHER Laurent DvSI/SIReS/GRE" <openup01@rd.francetelecom.com>
To: <cygwin@cygwin.com>
X-OriginalArrivalTime: 28 Oct 2003 13:08:37.0891 (UTC) FILETIME=[99C16D30:01C39D54]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h9SD8ueX029010

  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/


