http://llvm.org/bugs/show_bug.cgi?id=9261
Summary: clang: error: array initializer must be an initializer
list or string literal
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Blocks: 4068
drivers/scsi/fcoe/libfcoe.c:63:11: error: array initializer must be an
initializer list or string literal
static u8 fcoe_all_fcfs[ETH_ALEN] = FIP_ALL_FCF_MACS;
^
Testcase:
typedef unsigned char u8;
typedef unsigned char __u8;
static u8 fcoe_all_p2p[6] = ((__u8[6]) { 1, 0x10, 0x18, 1, 0, 5 });
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs