Visible to Intel only — GUID: GUID-3E19068D-F4EC-400E-9A48-D75092F6BDE4
Visible to Intel only — GUID: GUID-3E19068D-F4EC-400E-9A48-D75092F6BDE4
EH
Specifies the model of exception handling to be performed.
Syntax
Linux: |
None |
Windows: |
/EHtype /EHtype- |
Arguments
type |
Specifies the exception handling model. Possible values are:
|
If you specify c, you must also specify a or s.
Default
OFF |
Some exception handling is performed by default. |
Description
This option specifies the model of exception handling to be performed.
If you specify the negative form of the option, it disables the exception handling performed by type or the last type if there are two. For example, if you specify /EHsc-, it is interpreted as /EHs.
For more details about option /EH, see the Microsoft documentation.
IDE Equivalent
Visual Studio: Code Generation > Enable C++ Exceptions
Eclipse: None
Alternate Options
/EHsc |
Linux: None Windows: /GX |