[LLVMbugs] [Bug 5490] New: More skipping confusion (#endif)

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Nov 13 18:04:04 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=5490

           Summary: More skipping confusion (#endif)
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: neil at daikokuya.co.uk
                CC: llvmbugs at cs.uiuc.edu


Different to bug 2291, clang rejects the following in pedantic-errors mode, but
the #endif is fine and not rejectable as it is in the controlled group of #if 0
and therefore part of the skipped group.

extern int x;
#if 0
#if 1
#endif 2
#endif


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list