This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/30811] __FUNCTION__ allowed in function declaration



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]