This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/42579] [PATCH] support for obtaining file basename



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]