__FUNCTION__ revisited

Ulrich Drepper drepper@redhat.com
26 Oct 2000 13:13:47 -0700


Grant Grundler <grundler@cup.hp.com> writes:

> After RTFMing for a bit, I still think __FUNCTION__ is b0rken.
> Maybe I'm doing something else stupid that's obvious to you.

I don't know what kind of problem you are seeing.  It certainly works
for me on x86, Arm, PPC.  It's used in the implementation of assert()
so it better should be.  Maybe the compiler branch you are using is
cut at an unfortunate moment when the people who are rewriting the
preprocessor broke something.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------