Paul Koning <paul_kon...@dell.com> writes:

> The full pathname in __FILE__ is sometimes more than is desirable.  For 
> example, if multiple people may be building software in different working 
> directories, you end up with binaries that have lots of differences in them 
> that obscure "real" changes.  Or it may be that rebuilding "the bits we had 
> back in SVN rev 12345" is made harder this way, which can hurt debugging.

__FILE__ expands to the file name you pass to gcc, so if you don't want
a full path don't pass a full path.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to