This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: cpp mishandles \ in filenames


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


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