core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas_x86/p_exceptions.htm
author Deepak Modgil <Deepak.Modgil@Nokia.com>
Fri, 03 Apr 2009 23:33:03 +0100
changeset 0 fb279309251b
child 1641 2b3996fc09a1
permissions -rw-r--r--
DP tools release version Revision: 200912

<!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 &copy; 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>