The information in this article applies to:
SYMPTOMS
When the same tag name is used to declare nested structures inside different base structure declarations, the follow error is generated: NOTE: The C++ compiler does not generate this error. RESOLUTIONTo work around this problem, either don't use tag names for nested structures, or use unique tag names for all structures. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION
The following code fails to compile with the C compiler. Error C2011 is reported at the second use of "tag_LEVEL2" and "tag_LEVEL3". This error does not occur using the C++ compiler.
Additional query words:
Keywords : kbConly kbVC200 kbVC400 kbVC500 kbVC600 |
Last Reviewed: January 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |