[LLVMbugs] [Bug 16121] New: clang forbids static data members in anonymous struct
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu May 23 04:21:45 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16121
Bug ID: 16121
Summary: clang forbids static data members in anonymous struct
Product: clang
Version: trunk
Hardware: PC
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: sergey.melnikov at intel.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
clang forbids static data fields in anonymous strust:
$ cat anonymous-member-test.cpp
typedef struct {
static int i;
} s;
$ clang anonymous-member-test.cpp -c
anonymous-member-test.cpp:3:19: error: static data member 'i' not allowed in
anonymous struct
static int i;
^
1 error generated.
Sergey Melnikov
---
Software Engineer
Intel Compiler Team
Intel Corp.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130523/40cf5c30/attachment.html>
More information about the llvm-bugs
mailing list