Skip site navigation (1)Skip section navigation (2)
Date:      24 Apr 2000 02:43:28 +0200
From:      Assar Westerlund <assar@sics.se>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Bruce Evans <bde@zeta.org.au>, attila <attila@hun.org>, freebsd-current@FreeBSD.ORG
Subject:   Re: __func__ not declared for kernel build (5.0-CURRENT)
Message-ID:  <5lsnwcqqfj.fsf@assaris.sics.se>
In-Reply-To: Matthew Dillon's message of "Sun, 23 Apr 2000 10:30:20 -0700 (PDT)"
References:  <Pine.BSF.4.21.0004232323020.2928-100000@alphplex.bde.org> <200004231730.KAA62311@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon <dillon@apollo.backplane.com> writes:
>     obviously missing __FUNCTION__ was added by GCC many years ago, but it was
>     a while before it's use in defines in header (.h) files was dealt with
>     properly.

You mean outside a function?  What's the proper way of dealing with that?

>     I wish these stupid standards committees would just choose
>     something that people are already using rather then make up new names!

The problem is that __func__ and __FUNCTION__ are not the same thing.
And thus it makes sense for them not the use same name.

/assar


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5lsnwcqqfj.fsf>