Re: __FUNCTION__

From: Greg KH (greg@kroah.com)
Date: Tue Jan 08 2002 - 17:01:50 EST


On Tue, Jan 08, 2002 at 11:36:11PM +0200, Vladimir Kondratiev wrote:
> Hello,
> Modern C standard (C99) defines __FUNCTION__ as if immediately after
> function open brace string with function name is declared. Thus, it's
> invalid to use string concatenations like __FILE__ ":" __FUNCTION__.

Hi,

Can you point me to the place in the spec this is defined? I don't see
__FUNCTION__ defined anywhere in the ISO/IEC 9899:1999 (the official C99)
specification.

thanks,

greg k-h
-
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 : Tue Jan 15 2002 - 21:00:24 EST