DOC: Description of Compiler Error C2712 is Incorrect

ID: Q122257


The information in this article applies to:
  • The 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.

Additional query words: 2.00 9.00

Keywords : kbdocfix kbdocerr kbCompiler kbCPPonly kbVC
Version : winnt:
Platform : winnt
Issue type :


Last Reviewed: January 31, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.