[Mesa-dev] replace __FUNCTION__ with __func__ task

Brian Paul brianp at vmware.com
Tue Mar 3 07:57:11 PST 2015


We're using both of these in Mesa/gallium.  It would be nice to 
consistently just use C99's __func__ everywhere.  This would be any easy 
task for someone looking for something simple to do.

We could then get rid of this (broken) chunk seen in both compiler.h and 
p_compiler.h:

#ifndef __FUNCTION__
#  define __FUNCTION__ __func__
#endif

-Brian


More information about the mesa-dev mailing list