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

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
Date: Tue, 28 Oct 2003 11:32:42 -0500
From: Christopher Faylor <cgf-rcm AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Pb with INT64_MAX in /usr/include/stdint.h (+patch)
Message-ID: <20031028163242.GD29657@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3418F3471F1CA4409901547349FFAE2E0BBF01 AT ftrdmel2 DOT rd DOT francetelecom DOT fr>
Mime-Version: 1.0
In-Reply-To: <3418F3471F1CA4409901547349FFAE2E0BBF01@ftrdmel2.rd.francetelecom.fr>
User-Agent: Mutt/1.4.1i

On Tue, Oct 28, 2003 at 02:08:37PM +0100, zze-BDE balg011 VAUCHER Laurent DvSI/SIReS/GRE wrote:
>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.

I've checked a fix into CVS.

Thanks for pinpointing the exact place that needs to be changed.

cgf

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