http://llvm.org/bugs/show_bug.cgi?id=11632
Bug #: 11632
Summary: -Wmismatched-tags bogus warning that class != struct
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
class foo;
struct foo {int a;};
warning: class 'foo' was previously declared as a struct [-Wmismatched-tags]
Interchangeably referring to classes and structs by either name is explicitly
allowed by C++98 7.1.5.3/3 = C++11 7.1.6.3/3.
--
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