[LLVMbugs] [Bug 4457] New: Array size error when building with LLVM

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jun 26 08:32:56 PDT 2009


           Summary: Array size error when building with LLVM
           Product: new-bugs
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: goatboy160 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu

I receive the following error when building my code under LLVM.

 error: size of array 'class_id_list' is not an integral constant-expression

Here is the line of code it is pointing at

u_int8_t class_id_list[CMSG_SPACE(1024 * sizeof(u_int32_t))];

This was found in version 3.1.2 of XCode and version 3.2 shipping with the
Developer Preview of Snow Leopard.

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