www.digitalmars.com         C & C++   DMDScript  

c++ - __FILE__ macro

I am using the __FILE__ macro but am having problems. Sometimes the macro is
replaced by the file name, File.cc, both other times it is replaced by the whole
path name like /home/dev/test/File.cc. How can I prevent the whole path name
from printing?
Nov 15 2004