Re: Buffer v1.4

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 08/22/97

On Fri, 22 Aug 1997, Daniel Koepke wrote:

>It might be important to note the "#ifdef __FUNCTION__" won't work.
>in a prior message (or at least, an equivalent of said code).  This
>will do the "#define __FUNCTION__ __FILE__" even on gcc.  At least,
>it does with gcc 2.7.3.

Odd, I do a:

void dummy() {
#if !defined(__FUNCTION__)
#define __FUNCTION__ __FILE__

And I get function names under GCC
BUF: make_prompt:842 requested 256 bytes, received 256.
BUF: make_prompt:869 released 256 bytes from make_prompt:842.

PS - 2.7.3 just released? I thought they were going to 2.8.0.

-- | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/08/00 PST