https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99200
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to JoaoBapt from comment #0) > Trying to use the macro __PRETTY_FUNCTION__ as a string-literal converted N.B. "These identifiers are variables, not preprocessor macros" See https://gcc.gnu.org/onlinedocs/gcc/Function-Names.html