core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/pragmas.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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <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>Common Pragmas</title>
	<link rel="StyleSheet" href="../../book.css" type="text/css"/>
  </head>

<body>
<h2>Common Pragmas </h2>
<p> 
You configure the compiler for a project by changing the appropriate pragmas.</p>
<p>Many of the pragmas correspond to settings  and the settings panels for processors and operating systems.</p>
<p>Typically, you use these panels to select the settings for most of your code and use pragmas to change settings for special cases. For example, within the Global Optimizations panel, you can set code generation to a specific optimization level and then use a pragma to re-enable an optimization only for the code that benefits from the optimization. The targeting manual for the target processor or device may have details on enabling or disabling specific optimizations. When in doubt, just use the preset options.</p>
<p>The sections includee:</p>
<ul>
  <li><a href="pragma_syntax.htm">Pragma Syntax</a></li>
  <li><a href="pragma_scope.htm">Pragma Scope</a></li>
  <li><a href="pragma_reference.htm">Common Pragma Reference</a></li>
</ul>
<p class="note"><strong>TIP</strong> If you use the command-line tools, such as those for UNIX, see <a href="../cmd_line/cmd_line.htm">Command-Line Tools</a> for information on how to duplicate the effect of #pragma statements using command-line tool options.</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>