[Bug c++/30811] __FUNCTION__ allowed in function declaration
sebor at roguewave dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 15 21:29:00 GMT 2007
------- Comment #2 from sebor at roguewave dot com 2007-02-15 21:29 -------
No, I'm not aware of any such paper. AFAIK, neither __FUNCTION__ nor
__PRETTY_FUNCTION__ is specified by either C or C++, or proposed for inclusion
either of them (I could be wrong). They're gcc extensions, aren't they?
I'm suggesting that __FUNCTION__ either behave the way it's documented (i.e.,
just as C99 __func__ does) or, since it is an extension, that it be extended
further. Similarly for __PRETTY_FUNCTION__.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30811
More information about the Gcc-bugs
mailing list