EH

Specifies the model of exception handling to be performed.

IDE Equivalent

Windows: Code Generation > Enable C++ Exceptions

Linux: None

Mac OS X: None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

None

Windows:

/EHtype

Arguments

type

Specifies the exception handling model. Possible values are:

a

Specifies the asynchronous C++ exception handling model.

s

Specifies the synchronous C++ exception handling model.

c

Tells the compiler to assume that extern "C" functions do not throw exceptions.

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.

Alternate Options

None

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.