DOC: Description of Compiler Error C2712 is Incorrect (122257)



The information in this article applies to:

  • Microsoft Visual C++, 32-bit Professional Edition 2.0

This article was previously published under Q122257

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.

Modification Type:MinorLast Reviewed:7/5/2005
Keywords:kbCompiler kbCPPonly kbdocerr kbdocfix KB122257