[LLVMbugs] [Bug 4304] New: Missing pedantic warning for use of designators in c89 mode

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jun 3 05:38:25 PDT 2009


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

           Summary: Missing pedantic warning for use of designators in c89
                    mode
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Simple testcase (run with clang -std=c89 -pedantic):
int a[5] = { [2] = 1 };

Should warn in C89 mode because C89 didn't have designators.


-- 
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