The information in this article applies to:
SYMPTOMSWhen an argument in a function call is passed by value and is cast to a base class from a derived class that is also a friend of the base class, the compiler generates this error: This occurs only when C++ exception handling is enabled (/GX) and the base class defines a destructor. RESOLUTION
There are several workarounds:
-or- -or- STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ version 5.0. MORE INFORMATIONSample Code to Reproduce Problem
Additional query words: 10.00 10.10 10.20 utilities
Keywords : kbprg kbtool kbCompiler kbCPPonly kbVC |
Last Reviewed: January 31, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |