[PATCH] add -foverride-comp-dir

Mark Mitchell mark@codesourcery.com
Mon Oct 2 19:11:00 GMT 2006


Dan Aloni wrote:

> __FILE__ evaluates to whatever you provide in the command-line as the 
> name of the .c file, and in almost every case it's a relative pathname. 
> So, we don't have a problem there.

It's not always a relative pathname -- and inside header files it 
evaluates to the name of the header, which is often an absolute path.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list