[Bug preprocessor/82176] Feature request: replace __FILE__ with file's basename instead its full name
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Oct 27 04:49:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82176
--- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Gregory Fuchedzhy from comment #5)
> (In reply to Eric Gallager from comment #3)
> > *** Bug 91998 has been marked as a duplicate of this bug. ***
>
> Not exactly a duplicate, but related.
> Clang implemented an additional __FILE_NAME__ macro.
>
> See:
> https://reviews.llvm.org/D61756
> https://reviews.llvm.org/D17741
oh ok, I guess that's actually a dup of bug 42579 instead, then...
More information about the Gcc-bugs
mailing list