www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/02/05/12:40:29

Message-ID: <3E41386F.B8F63C66@yahoo.com>
Date: Wed, 05 Feb 2003 11:14:39 -0500
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: djgpp: djgpp/include/string.h,strings.h
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1030205082604 DOT 15128I-100000 AT is> <3E410279 DOT C78ACB52 AT phekda DOT freeserve DOT co DOT uk>
Reply-To: djgpp-workers AT delorie DOT com

Richard Dawe wrote:
> Eli Zaretskii wrote:
> >
... snip ...
> >
> > Richard, did you try to see whether an old GCC version swallows this
> > successfully?  Like compile a program with GCC 2.7.2.x or 2.8?
> [snip]
> 
> Er, no. But I don't see why I wouldn't work. gcc 3.x currently defaults
> to C89 mode, which means it doesn't define __STDC_VERSION__. So when it
> comes to evaluating this #if/#endif, gcc 2.x and gcc 3.x should behave
> the same, which their default settings (e.g.: no -std=c<whatever> or
> -std=gnu<whatever>).

I believe it/they do, however the value is less than 1999...

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


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