The information in this article applies to:
SYMPTOMSUse of the conditional operator in the member initialization list may cause the following error:
RESOLUTIONInitialize the members in the function code instead of in the initialization list. -or-Modify the order in which the variables are declared. For example, with the following sample the error only occurs if you attempt to initialize the second variable rather than the first variable. STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been corrected in Visual
Studio 97 Service Pack 1.
Q170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why MORE INFORMATIONSample Code
Keywords : kbcode kbtool kbCompiler kbVC500bug kbVS97sp1fix |
Last Reviewed: July 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |