www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/24/00:42:58

Date: Mon, 24 Apr 2000 08:35:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: DJ Delorie <dj AT delorie DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: EILSEQ in errno.h
In-Reply-To: <200004240011.UAA05277@envy.delorie.com>
Message-ID: <Pine.SUN.3.91.1000424083432.12476B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 23 Apr 2000, DJ Delorie wrote:

> Not if you add a comment:
> 
> #define EDOM 	1
> #define ERANGE 	2
> 
> /* New errors for C99 */
> #define EILSEQ 	39

I wonder whether we want some preprocessing symbol around the
C99-specific stuff, in case someone would use an older compiler
version.

For example, we could use "#if __STDC_VERSION__ >= 199901", or look at
__GNUC__ and __GNUC_MINOR__ (or both).  See my other mail about a
specific suggestion.

It seems we will need this anyway, for incompatible features such as
__restrict__, so we might as well wrap the semi-compatible features
also.

Comments?

- Raw text -


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