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__
#endif
}

And I get function names under GCC 2.7.2.2
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.

--
greerga@muohio.edu me@null.net | Genius may have its limitations, but stupidity
http://www.muohio.edu/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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