Looking for: __PROC_NAME__ equivalent to __FILE__ or __LINE__?

Tom Emerson tree@basistech.com
Wed Nov 30 03:26:00 GMT 2005


http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Function-Names.html

__FUNCTION__ and __PRETTY_FUNCTION__ do what you want, I think.

-- 
Tom Emerson                                          Basis Technology Corp.
Software Architect                                 http://www.basistech.com
 "You can't fake quality any more than you can fake a good meal." (W.S.B.)



More information about the Gcc-help mailing list