Comment 2 for bug 1716347

Revision history for this message
Leo Havmøller (leh-p) wrote :

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