http://llvm.org/bugs/show_bug.cgi?id=6829
Summary: MS extension for nameless struct members missing
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Here's a testcase :
typedef struct { int x; } STRUCT1;
typedef struct { STRUCT1; int y; } STRUCT2;
clang -fms-extensions issues a warning : declaration does not declare anything
typedef struct { STRUCT1; int y; } STRUCT2;
^~~~~~~
While gcc -fms-extensions doesn't.
--
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