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:

  http://gcc.gnu.org/ml/gcc-help/2002-02/msg00210.html

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

HIH,

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'?
>
>ron
>
>_______________________________________________
>Linuxbios mailing list
>Linuxbios at clustermatic.org
>http://www.clustermatic.org/mailman/listinfo/linuxbios




More information about the coreboot mailing list