[LLVMbugs] [Bug 4307] New: clang missing pedantic warning for use of flexible array member in c89 mode

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jun 3 05:50:04 PDT 2009


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

           Summary: clang missing pedantic warning for use of flexible array
                    member 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


Testcase (clang -pedantic -std=c89):
struct x { int x,y[]; };

Should warn because this feature does not exist in C89.


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