/EH (Exception Handling Model)
| Overview | How Do I | Compiler Options
Syntax
/EH{s|a}[c][-]
This option specifies the model of exception handling to be used by the compiler.
Use /EHs to specify the synchronous exception handling model.
Use /EHa to specify the asynchronous exception handling model.
The /EHc option requires that /EHs, /EHa, or /GX is specified. It tells the compiler to assume that extern C functions never throw an exception.
The option can be cleared by the symbol “-”. For example: /EHsc- is interpreted as /EHs /EHc- , and is equivalent to /EHs.
See Synchronous Exception Handling for more information.