Hi Hiroki, The __FILE__ is based on what you pass. gcc -c foo.c __FILE__ is "foo.c" gcc -c ././././foo.c __FILE__ is "././././foo.c" If you don't want the prefix, don't append the prefix. HTH, --Eljay
Hi Hiroki, The __FILE__ is based on what you pass. gcc -c foo.c __FILE__ is "foo.c" gcc -c ././././foo.c __FILE__ is "././././foo.c" If you don't want the prefix, don't append the prefix. HTH, --Eljay