This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/42579] [PATCH] support for obtaining file basename
- From: "rmh dot gcc at aybabtu dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jan 2010 11:39:41 -0000
- Subject: [Bug c/42579] [PATCH] support for obtaining file basename
- References: <bug-42579-12496@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rmh dot gcc at aybabtu dot com 2010-01-02 11:39 -------
(In reply to comment #2)
> __BASE_FILE__ could be enough for what you want.
Hi,
I tried already, but __BASE_FILE__ seems to be something unrelated. It's
like __FILE__ but when used in an #include'd source it picks the includer
rather than the included file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42579