__FUNCTION__

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


Figured out why I still get function names.  It seems that GCC can't test
for __FUNCTION__ with an #if as Daniel said.  However, it ignores any
attempt to #define it to anything else.  So any preprocessor that doesn't
have __FUNCTION__ will define it to __FILE__ and gcc will simply ignore the
redefinition.  Works for me.

PS - Angus, resend that message you mailed me about the buffer code and the
        NAK, I lost it.

--
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