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