gcc, ever improving ... :-)

Jack Perdue j-perdue at tamu.edu
Thu Oct 17 16:40:01 CEST 2002

Howdy Ron,

A quick Google search gives up this:


which would imply (without actually RingTFM) the 
"proper" replacement would be __func__


jack (not digging further)
j-perdue at tamu.edu

At 02:45 PM 10/17/02 -0600, you 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'?
>Linuxbios mailing list
>Linuxbios at clustermatic.org

More information about the coreboot mailing list