[lkml]   [2002]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] __func__ -> __FUNCTION__
Muli Ben-Yehuda wrote:
> On Tue, Aug 13, 2002 at 01:09:39AM -0700, H. Peter Anvin wrote:
>>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.
> Works for me(TM).

But it won't work on a compiler that actually *supports* __func__...

I think that is gcc 3.1 or higher, but I'm not the authority...

> ObCompleteyUnrelatedQuestions: where can I find klibc?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean