X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3FC27F1A.61184929@phekda.freeserve.co.uk> Date: Mon, 24 Nov 2003 21:58:50 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: C99 and assert References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Esa A E Peuha wrote: > C99 says that assert should print function name in addition to file name > and line number. Compatibility with old versions of gcc demands some > complications (at least I think so): [snip] That looks good to me. 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? If we need to add some #ifdefs to work around gcc versions, please post a new patch. Otherwise, please commit. Thanks, bye, Rich =] -- Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ] "You can't evaluate a man by logic alone." -- McCoy, "I, Mudd", Star Trek