DOC: Description of Compiler Error C2712 is Incorrect

Last reviewed: October 8, 1997
Article ID: Q122257
The information in this article applies to:
  • The Microsoft C/C++ Compiler (CL.EXE) included with: - Microsoft Visual C++, 32-bit Edition, version 2.0

SUMMARY

The online Help for compiler error C2712 ("cannot use __try in func with object unwinding") states:

   To avoid this error message, compile using /GX option.

This is incorrect. It should read that the workaround is to compile with /GX-, which instructs the compiler to disable C++ exception handling unwinding.


KBCategory: kbdocerr kbdocfix
KBSubCategory: CPPIss
Additional query words: 2.00 9.00
Keywords : CPPIss
Version : WINNT:2.0;
Platform : NT WINDOWS
Issue type : kbdocerr
Solution Type : kbdocfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 8, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.