delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/28/10:48:50

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
MIME-Version: 1.0
Subject: RE: Pb with INT64_MAX in /usr/include/stdint.h (+patch)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
Date: Tue, 28 Oct 2003 16:48:31 +0100
Message-ID: <3418F3471F1CA4409901547349FFAE2E0BBF02@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 15:48:31.0544 (UTC) FILETIME=[F004B380:01C39D6A]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h9SFmn0E009853

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


- Raw text -


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