This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: cpp mishandles \ in filenames
- From: Zack Weinberg <zack at codesourcery dot com>
- To: mike stump <mrs at windriver dot com>
- Cc: neil at daikokuya dot demon dot co dot uk, gcc-bugs at gcc dot gnu dot org
- Date: Wed, 16 Jan 2002 12:18:10 -0800
- Subject: Re: cpp mishandles \ in filenames
- References: <200201161909.LAA11374@kankakee.wrs.com>
On Wed, Jan 16, 2002 at 11:09:47AM -0800, mike stump wrote:
> > Date: Tue, 15 Jan 2002 02:11:25 -0800
> > From: Zack Weinberg <zack@codesourcery.com>
> > To: Neil Booth <neil@daikokuya.demon.co.uk>
> > Cc: mike stump <mrs@windriver.com>, gcc-bugs@gcc.gnu.org
>
> > Only that I asked on comp.std.c and was told point blank that
> > escapes were to be interpreted.
>
> If a windows user does #include <dir\file.h> I think they expect it to
> work; it has in the past. "dir\file.h" I think should behave
> likewise.
This is the specified behavior for #include, but *not* #line...
zw