[LLVMbugs] [Bug 2561] New: flexible array member initializers generate warning

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jul 17 10:02:54 PDT 2008


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

           Summary: flexible array member initializers generate warning
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu


Given:
--
struct one {
  int a;
  int values[];
} x = {5, {1, 2, 3}};
--
clang generates an excess elements in array initializer warning


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