This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Another weird CPP result
Zack Weinberg wrote:-
> I just haven't gotten around to it. It should get done for 3.3. Does
> it need to be fixed for 3.1.1? If so I'll bump it up the list.
I don't think so. 3.3 is fine.
> > I'm still not clear how this solves the problem in general, since
> > different paths can refer to the same file. Under UNIX we can check
> > dev/inode pairs, but I'm not aware of a proper portable solution.
>
> You are imagining a situation where, for instance, the -M file and the
> normal output are hard or symbolic links to the same inode? The user
> must have done that deliberately; I'm fine with saying that that's not
> supported.
I think I'm just confused, and the problem is not as hard as I think it
is.
Neil.