KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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.
Tags (comma-separated)
Save Edits
Cancel