X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Tue, 25 Nov 2003 20:53:10 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Esa A E Peuha Message-Id: <7137-Tue25Nov2003205310+0200-eliz@elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: (message from Esa A E Peuha on Tue, 25 Nov 2003 11:05:16 +0200 (EET)) Subject: Re: C99 and assert References: <3FC27F1A DOT 61184929 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: Tue, 25 Nov 2003 11:05:16 +0200 (EET) > From: Esa A E Peuha > > > I have one question: Which version of gcc was the first to support __func__? > > Does gcc 2.95.x support __func__? gcc 2.7.2.2? According to my digging, v2.95.x supported __func__. V2.7.2.1 did not, but it had __FUNCTION__ and __PRETTY_FUNCTION__ (the latter useful mainly for C++) with the same functionality. > The first version to support C99, I think. That is irrelevant though, > because any version of gcc in C99 mode will have __func__, while any > version of gcc in strict C89 mode won't (or at least shouldn't). I'm not sure: did GCC 2.95.x have a C99 mode and a C89 mode?