Date: Mon, 24 Apr 2000 08:35:30 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: DJ Delorie cc: djgpp-workers AT delorie DOT com Subject: Re: EILSEQ in errno.h In-Reply-To: <200004240011.UAA05277@envy.delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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?