 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alan Bellingham Guest
|
Posted: Mon May 16, 2005 2:26 pm Post subject: Re: Name of current function |
|
|
Christopher Benson-Manica <ataru (AT) nospam (DOT) cyberspace.org> wrote:
| Quote: | C99 defines the manifest constant __func__, which expands to the name
of the current function. The C++ Builder 4 documentation pretty
clearly indicates that neither __func__ nor the GNU version
__FUNCTION__ are supported. Is this manifest constant or an
equivalent present in later versions of C++ Builder?
|
C99 is not supported by C++Builder (or by almost any other compiler, to
be honest).
BCB 5 does provide __FUNC__.
Alan Bellingham
--
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
|
|
| Back to top |
|
 |
Christopher Benson-Manica Guest
|
Posted: Mon May 16, 2005 2:28 pm Post subject: Re: Name of current function |
|
|
Alan Bellingham <alanb (AT) episys (DOT) com> wrote:
| Quote: | C99 is not supported by C++Builder (or by almost any other compiler, to
be honest).
|
Yes...
| Quote: | BCB 5 does provide __FUNC__.
|
Thanks.
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|