I'm wondering how widely are __func__ (part of C99, but I'm compiling as C89) and __FUNCTION__ supported.

I have an old code base that is mostly using manual const char* id; variables that are then passed to various (mostly logging) functions. I would like to get rid of this and move the function name into a macro.

c
Edit
Report