共用方式為


/GX   (Enable Exception Handling)

OverviewHow Do ICompiler Options

This option enables synchronous exception handling with the assumption that extern C functions never throw an exception. It is now equivalent to /EHsc.

For more information, see Exception Handling Topics (C++).