Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This option specifies the model of exception handling to be used by the compiler.
/EH{s|a}[c][-]
The following table shows how to use the available options for /EH.
| Switch | Description |
|---|---|
| /EHs | Specifies the synchronous exception-handling model. |
| /EHa | Specifies the asynchronous exception-handling model. |
| /EHc | Sets the compiler to assume that extern C functions never throw an exception. The /EHc option requires that /EHs, /EHa, or /GX - Enable Exception Handling is also specified. |
The option can be cleared by the symbol "-". For example, /EHsc- is interpreted as /EHs /EHc-, and is equivalent to /EHs.
See Also
Send Feedback on this topic to the authors