On Wed, 2008-02-27 at 07:59 +1100, Robert Collins wrote:
> On Fri, 2008-02-22 at 20:11 +0100, Guido Serassio wrote:
> > Hi Alex,
> > 
> > At 19:29 22/02/2008, Alex Rousskov wrote:
> > >On Fri, 2008-02-22 at 19:23 +0100, Guido Serassio wrote:
> > >
> > > > Changing the case of files/dir will not be a problem if we will avoid
> > > > upper/lower case collisions.
> > >
> > >This only applies to files in the same directory, right?
> > 
> > Sure.
> > 
> > >  AFAICT,
> > >filenames from different directories may still collide and even have
> > >identical case.
> > 
> > Yes, absolutely no problems here.
> 
> Actually there is a problem.
> 
> touch include1/Foo.h
> touch include2/foo.h
> 
> g++ -I include1 -I include2 foo.cc
> 
> foo.cc:
> #include "foo.h"

That #include line would be illegal in cleaned up sources, of course.
You are supposed to say "include1/Foo.h" or equivalent. That's why
duplicating group in file names may become unnecessary: Group/GroupFoo.h
becomes Group/Foo.h

Alex.


Reply via email to