🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53259

__FILE__, __LINE__ ---> __FUNC__ ?

#53259
From: Bill Shirley
Date: Fri, 21 Feb 1992 19:43
23 lines
1151 bytes
It would be usefull in debug statement if there was a __FUNC__
MACRO defined by the compiler, similar to the __LINE__ and __FILE__
MACROs.

Is there such a beast?
Did I miss it?
Is {joe programmer} going to add it to gcc soon?  (i.e. put it on my wish list)


thanks,
 for any insight/help/action
	-bill

-- 
	Bill Shirley
shirley@bush.jsc.nasa.gov
  ____      ____      ____
 / ___|    / ___|    / ___|
|_|omputer|_|ciences|_|orporation
 _             _     _
| |___     ___| |   | |___
 \____|   |____/     \____|
 Applied Technology Division
Technical Details
Message-ID: <1992Feb21.194305.14638@aio.jsc.nasa.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!eos!aio!fdr!shirley

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,f179a5f6aeae90bc,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-02-21 12:30:16 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!eos!aio!fdr!shirley
From: shirley@fdr.jsc.nasa.gov (Bill Shirley)
Subject: __FILE__, __LINE__ ---> __FUNC__ ?
Message-ID: <1992Feb21.194305.14638@aio.jsc.nasa.gov>
Keywords: compile macros __FILE__ __LINE__
Sender: shirley@fdr (Bill Shirley)
Organization: Computer Sciences Corporation, ATD - Houston, TX
Date: Fri, 21 Feb 1992 19:43:05 GMT