Re: [patch] __func__ -> __FUNCTION__

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue Aug 13 2002 - 03:09:39 EST


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/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:31 EST