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]

[Bug preprocessor/11806] New: cpp does not ignore "'" inside #if 0 / #endif


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: cpp does not ignore "'" inside #if 0 / #endif
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kcc at mcst dot ru
                CC: gcc-bugs at gcc dot gnu dot org,kcc at mcst dot ru
 GCC build triplet: solaris 2.8 i386
  GCC host triplet: solaris 2.8 i386
GCC target triplet: solaris 2.8 i386

$ cat a.c 
#if 0 
12'34
56
#endif

$ cpp a.c 
# 1 "a.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "a.c"
a.c:2:3: missing terminating ' character

$ cpp --version | tail -1 
cpp (GCC) 3.3


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