------- Comment #4 from cfriedt at visible-assets dot com 2010-04-30 09:54 ------- (In reply to comment #0) > Please consider this patch. It adds support for obtaining file basename via > __FILE_BASENAME__.
Please do! What would also be really nice would be to have similar functionality for C++, with __CLASS__ and __METHOD__ macros. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42579