[LLVMbugs] [Bug 3145] New: bogus "braces around scalar initializer" warning
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Nov 30 09:19:42 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=3145
Summary: bogus "braces around scalar initializer" warning
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: parser
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nunoplopes at sapo.pt
CC: llvmbugs at cs.uiuc.edu
The following code triggers the "braces around scalar initializer" warning,
which is bogus in this case.
struct a {
int y;
};
struct b {
int y;
struct a x;
};
struct b z = {
.x = {
.y = 2
}
};
--
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