<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>exceptions</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h3>exceptions</h3>
<p> Set exception handling to use Microsoft-compatible exceptions or Carbide zero-overhead exceptions (default). Implies the use of <span class="code">pragma# -cpp_exceptions on</span>.</p>
<h5>Syntax</h5>
<p class="code">#pragma exc[eptions] mw | ms | sync | async</p>
<h5>Targets</h5>
Intel x86<br />
<h5>Remarks</h5>
<p>This pragma emulates the /EHS option of MSVC. In this model, Win32 structured exception handling (SEH) is not caught by C++ <span class="code">catch(...)</span> blocks. </p>
<p>This pragma corresponds to the C++ exception handling setting in the Microsoft Compatability group of the x86 CodeGen panel. To check this setting, use <span class="code">__option (exceptions)</span>, described in <a href="../symbols/sym_settings.htm">Checking Settings</a>. By default, this pragma is <span class="code">on</span>.<br />
</p>
<div id="footer">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
</body>
</html>