Microsoft KB Archive/122257

From BetaArchive Wiki
Knowledge Base


DOC: Description of Compiler Error C2712 is Incorrect

Article ID: 122257

Article Last Modified on 7/5/2005



APPLIES TO

  • Microsoft Visual C++ 2.0 Professional Edition



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.


Additional query words: 2.00 9.00

Keywords: kbdocfix kbdocerr kbcpponly kbcompiler KB122257