Re: [patch] __func__ -> __FUNCTION__

H. Peter Anvin (hpa@zytor.com)
Tue, 13 Aug 2002 01:09:39 -0700


Muli Ben-Yehuda wrote:
>
> How about:
>
> /* early gcc compilers lose on __func__ */
> #ifndef __func__
> #define __func__ __FUNCTION__
> #endif /* !defined __func__ */

__func__ isn't a macro; it's a compiler token.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/