This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30811] __FUNCTION__ allowed in function declaration
- From: "sebor at roguewave dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Feb 2007 21:29:23 -0000
- Subject: [Bug c++/30811] __FUNCTION__ allowed in function declaration
- References: <bug-30811-1186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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