BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: Name of current function

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools)
View previous topic :: View next topic  
Author Message
Alan Bellingham
Guest





PostPosted: Mon May 16, 2005 2:26 pm    Post subject: Re: Name of current function Reply with quote



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





PostPosted: Mon May 16, 2005 2:28 pm    Post subject: Re: Name of current function Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.