36ee1e2015-10-12Pontus Östlund <!doctype html>
286efd2012-03-24Henrik Grubbström (Grubba) <html> <head>
36ee1e2015-10-12Pontus Östlund  <meta content="width=device-width, initial-scale=1" name="viewport"> <meta charset="utf8">
286efd2012-03-24Henrik Grubbström (Grubba)  <title>Pike Reference Manual - #pragma</title>
36ee1e2015-10-12Pontus Östlund  <!-- 83 --> <link rel='stylesheet' href='../../style.css'> <script src='../../site.js'></script>
286efd2012-03-24Henrik Grubbström (Grubba)  <style type='text/css'> svg line { stroke:#343434; stroke-width:2; } svg text { fill:#343434; } svg a { fill:#0768b2; text-decoration: underline; } </style> </head>
36ee1e2015-10-12Pontus Östlund  <body>
286efd2012-03-24Henrik Grubbström (Grubba)  <header>
36ee1e2015-10-12Pontus Östlund  <div class="header"> <div id="version"><strong></strong></div> <a href="http://pike.lysator.liu.se/"> <span>Pike</span> </a>
286efd2012-03-24Henrik Grubbström (Grubba)  </div> </header>
36ee1e2015-10-12Pontus Östlund  <div id="page">
286efd2012-03-24Henrik Grubbström (Grubba)  <div class="navbar">
36ee1e2015-10-12Pontus Östlund  <nav> <div class="inner"> <a href='../../index.html'><b class='top head'>Top</b></a>
286efd2012-03-24Henrik Grubbström (Grubba) <a href='../../ex/cpp_3A_3A.html'><b class='head'>cpp::</b></a> <script></script> <noscript> <div class='sidebar'> <a href='../../ex/cpp_3A_3A/index.html'><b>Symbol index</b></a><br /> </div> </noscript>
36ee1e2015-10-12Pontus Östlund  </div> </nav>
286efd2012-03-24Henrik Grubbström (Grubba)  </div>
36ee1e2015-10-12Pontus Östlund  <div class="content"> <div class="navbox"> <nav> <div class="sidebar"> <a href="../../ex/cpp_3A_3A/_23pike.html" class="prev"><span>&#10148;</span> #pike</a> <a href="../../ex/cpp_3A_3A/_23require.html" class="next">#require <span>&#10148;</span></a> </div> </nav> </div> <div class="contentbox"> <article> <h1>Directive #pragma</h1>
286efd2012-03-24Henrik Grubbström (Grubba)  <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Directive</span> <span class='homogen--name'><b>#pragma</b></span> </dt> <dd><p><code class='directive'>#pragma</code></p></dd> <dt class='head--doc'>Description</dt> <dd class='body--doc'><p>This is a generic directive for flags to the compiler.</p> <p> These are some of the flags that are available:</p> <table class='box'><tr><td><code><code class='key'>"all_inline"</code></code></td><td><p>This is the same as adding the modifier <tt>inline</tt> to all functions that follow.</p> </td></tr> <tr><td><code><code class='key'>"all_final"</code></code></td><td><p>Instructs the compiler to mark all symbols as <tt>final</tt>.</p> </td></tr>
2fa1c62015-02-10Henrik Grubbström (Grubba) <tr><td><code><code class='key'>"deprecation_warnings"</code></code></td><td><p>Enable warnings for use of deprecated symbols (default).</p> </td></tr> <tr><td><code><code class='key'>"no_deprecation_warnings"</code></code></td><td><p>Disable warnings for use of deprecated symbols. This is typically used in code that implements the deprecated symbols.</p> </td></tr>
286efd2012-03-24Henrik Grubbström (Grubba) <tr><td><code><code class='key'>"save_parent"</code></code></td><td><p>Cause nested classes to save a reference to their surrounding class even if not strictly needed.</p> </td></tr> <tr><td><code><code class='key'>"dont_save_parent"</code></code></td><td><p>Inverse of <tt>"save_parent"</tt>. This is needed to override if the global symbol <code class='reference unresolved'>__pragma_save_parent__</code> has been set.</p> </td></tr> <tr><td><code><code class='key'>"strict_types"</code></code></td><td><p>Enable warnings for all cases where the compiler isn't certain that the types are correct.</p> </td></tr>
2fa1c62015-02-10Henrik Grubbström (Grubba) <tr><td><code><code class='key'>"disassemble"</code></code></td><td><p>Enable disassembly output for the code being compiled. Note that this option essentially has a function-level scope, so enabling it for just a few lines is usually a noop. This is similar to <code class='reference unresolved'>Debug.assembler_debug()</code> level <code class='expr'>3</code>. Note that this <tt>#pragma</tt> is a noop if Pike hasn't been compiled <tt>--with-debug</tt>.</p> </td></tr> <tr><td><code><code class='key'>"no_disassemble"</code></code></td><td><p>Disable disassembly output (default).</p> </td></tr>
286efd2012-03-24Henrik Grubbström (Grubba) </table></dd></dl>
36ee1e2015-10-12Pontus Östlund  </article> </div>
286efd2012-03-24Henrik Grubbström (Grubba)  </div> </div>
36ee1e2015-10-12Pontus Östlund  <footer> <div id="build-date">Extracted from <strong></strong> as of <strong></strong>.</div> </footer>
286efd2012-03-24Henrik Grubbström (Grubba)  </body> <script>PikeDoc.current = {"link":"ex/cpp_3A_3A/_23pragma.html","name":"#pragma"};</script> <script src='../../ex/cpp_3A_3A/index.js'></script> <script src='../../ex/cpp_3A_3A/load_index.js'></script> </html>