Date: Wed, 05 Feb 2003 17:44:00 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp-workers AT delorie DOT com Message-Id: <5567-Wed05Feb2003174359+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <3E410279.C78ACB52@phekda.freeserve.co.uk> (message from Richard Dawe on Wed, 05 Feb 2003 12:24:25 +0000) Subject: Re: djgpp: djgpp/include/string.h,strings.h References: <3E410279 DOT C78ACB52 AT phekda DOT freeserve DOT co DOT uk> 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 > Date: Wed, 05 Feb 2003 12:24:25 +0000 > From: Richard Dawe > > > > 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 or > -std=gnu). We introduce this for the benefit of older versions of GCC. So I think we should test this with those older versions, to make sure we don't break those users who still have them installed. > Oh. Or do you mean the line-continuation charactre in the multi-line > #if/#endif? I mean everything ;-)