[LLVMbugs] [Bug 2284] New: Conditional operator issues

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon May 5 00:12:12 PDT 2008


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

           Summary: Conditional operator issues
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: neil at daikokuya.co.uk
                CC: llvmbugs at cs.uiuc.edu


The following is not diagnosed (excess tokens):

#if 1 ? 2 : 1, 3
#endif

"/tmp/bug.c", line 1: warning: excess tokens in preprocessing directive
#if 1 ? 2 : 1, 3
             ^

The following is diagnosed:

#if 1 ? 0: 1 ? 1/0: 1/0
#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