This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -remap: Should we remap before / after simplification?



> CPP simplifies pathnames so that, e.g., 
> 
> a/b/c/../d   -> a/b/d
> 
> internally.  Now consider what happens in the case that "a/b/c" is a
> directory with header remappings.  

[...]

> The same bug is also inherently making the assumption that the mapped-to
> file will be in the same directory; I see no reason for us to demand
> that either.
> 
> Would someone who uses this stuff agree or disagree?  I don't really
> see another way to do this and remain correct, to be honest.

In DJGPP world it is used just to keep STL C++ headers happy on 8.3
systems. The header.gcc is kept in the same system header dir. This is
a very limited usage and those two bugs are extremely unlikely to trigger. 

Laurynas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]