preprocessor/6521: -MG creates dependency with wrong path

Neil Booth neil@daikokuya.demon.co.uk
Sat May 4 01:09:00 GMT 2002


Robert Spier wrote:-

> >> This is intended behaviour (but undocumented I think); whether it is
> >> desirable or not is a different question.
> >> 
> >> IMO this is not worth fixing; and we should just document the behaviour
> >> for <> headers.  What do you think, Zack?
> >
> >Agreed.
> 
> Why is this the intended behavior?  It doesn't make much sense to me.

It's intended because it's what the comment in the code says and does.
I'd welcome a patch to do something more sensible.  You can wait for me
to look at it, but it's pretty near the bottom of my to-do list.

Neil.



More information about the Gcc-bugs mailing list