delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/28/08:08:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
Subject: Pb with INT64_MAX in /usr/include/stdint.h (+patch)
MIME-Version: 1.0
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 AT rd DOT francetelecom DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 28 Oct 2003 13:08:37.0891 (UTC) FILETIME=[99C16D30:01C39D54]
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019