Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


At 1:11am -0400 Thu, 21 Oct 2010, Kevin Hunter wrote:
3. Misinterpretation of __PRETTY_FUNCTION__?
============================================
What is __PRETTY_FUNCTION__?  It changed in GCC 3.4, I believe.  Now,
contrary to the implicit understanding from its all caps nature, it is
*not* a macro; it's a language identifier:

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

I need to learn to read more thoroughly. For C only, it was changed in GCC 3.4. It's apparently always been treated as a variable in C++:

"In C++, __FUNCTION__ and __PRETTY_FUNCTION__ have always been variables."

Cheers,

Kevin

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.