[Bug c/26897] New: character \ in #include directive

chenwj at gcrj dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 28 11:56:00 GMT 2006


simple program such as:

#define file "a.\"h"
#include file
#include "a.\"h"

Compiled by: gcc -E a.c
If the header file a.\"h exists, the first #include directive be processed
properly, but nor the second #include directive, Why?


-- 
           Summary: character \ in #include directive
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: chenwj at gcrj dot com
 GCC build triplet: Red Hat Linux release 7.2 (Enigma) Kernel 2.4.9-13 on an
                    i686
  GCC host triplet: Red Hat Linux release 7.2 (Enigma) Kernel 2.4.9-13 on an
                    i686
GCC target triplet: Red Hat Linux release 7.2 (Enigma) Kernel 2.4.9-13 on an
                    i686


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26897



More information about the Gcc-bugs mailing list