Gcc has a __BASE_FILE__ macro for this: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html. However, this stackoverflow post (https://stackoverflow.com/questions/8487986/file-macro-shows-full-path) claims that it just gives the same result as __FILE__.
Gcc has a __BASE_FILE__ macro for this: https:/ /gcc.gnu. org/onlinedocs/ cpp/Common- Predefined- Macros. html. /stackoverflow. com/questions/ 8487986/ file-macro- shows-full- path) claims that it just gives the same result as __FILE__.
However, this stackoverflow post (https:/