RFC: case insensitive for #include
Ian Lance Taylor
iant@google.com
Wed Jan 28 21:26:00 GMT 2009
"H.J. Lu" <hjl.tools@gmail.com> writes:
> Say I have
>
> #include "Foo/Foo.h"
>
> I want to map it to foo/foo.h on disk. Can I map Foo to foo with
> header.gcc in directory, foo?
Yes. Put this at top level (i.e., in the same directory where the
directory "foo" is):
Foo/Foo.h foo/foo.h
Then #include "Foo/Foo.h" will open foo/foo.h.
You do have to compile with the -remap option.
Ian
More information about the Gcc
mailing list