On Thu, Oct 17, 2002 at 02:45:19PM -0600, Ronald G Minnich wrote:
> printk_debug(__FUNCTION__ "\n");
>
> You get the message:
>
> /home/rminnich/src/freebios/src/arch/i386/lib/hardwaremain.c:139: warning:
> concatenation of string literals with __FUNCTION__ is deprecated
>
> OK, I use this technique quite a bit. Anybody know why this handy little
> trick is 'deprecated'?
Simple fix :
printk_debug("%s\n", __FUNCTION__);
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios