36ee1e | 2015-10-12 | Pontus Östlund | | <!doctype html>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <html>
<head>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <meta content="width=device-width, initial-scale=1" name="viewport">
|
7e5ead | 2016-01-20 | Pontus Östlund | | <meta charset="utf-8">
|
c0c2c8 | 2016-11-14 | Pontus Östlund | | <title>#warning - Pike Reference Manual</title>
|
078087 | 2016-10-04 | Pontus Östlund | | |
36ee1e | 2015-10-12 | Pontus Östlund | | <link rel='stylesheet' href='../../style.css'>
<script src='../../site.js'></script>
|
078087 | 2016-10-04 | Pontus Östlund | | <script src='../../constants.js'></script>
<script>PikeDoc.NO_DYNAMIC = true;</script>
|
286efd | 2012-03-24 | Henrik 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>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <body>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <header>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <div class="header">
|
0e3f09 | 2016-04-19 | Henrik Grubbström (Grubba) | | <div id="version"><strong data-id="version"></strong></div>
|
ed0b3d | 2016-12-10 | Martin Nilsson | | <button id="burger">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</button> |
7e5ead | 2016-01-20 | Pontus Östlund | | <h1>
|
0e3f09 | 2016-04-19 | Henrik Grubbström (Grubba) | | <a href="http://pike.lysator.liu.se/" class="logo">
|
7e5ead | 2016-01-20 | Pontus Östlund | | <span>Pike programming language</span>
</a>
</h1>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
</header>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <div id="page">
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <div class="navbar">
|
36ee1e | 2015-10-12 | Pontus Östlund | | <nav>
|
7e5ead | 2016-01-20 | Pontus Östlund | | <div class="inner" id="navbar">
|
36ee1e | 2015-10-12 | Pontus Östlund | | <a href='../../index.html'><b class='top head'>Top</b></a>
|
286efd | 2012-03-24 | Henrik 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>
|
36ee1e | 2015-10-12 | Pontus Östlund | | </div>
</nav>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <div class="content">
<div class="navbox">
<nav>
<div class="sidebar">
<a href="../../ex/cpp_3A_3A/_23undefine.html" class="prev"><span>➤</span> #undefine</a>
|
65c1dc | 2016-06-10 | Martin Nilsson | | <a href="../../ex/cpp_3A_3A/_23_7B_23_7D.html" class="next">#{#} <span>➤</span></a>
|
36ee1e | 2015-10-12 | Pontus Östlund | | </div>
</nav>
</div>
<div class="contentbox">
<article>
<h1>Directive #warning</h1>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | |
<hr />
<dl class='group--doc'>
<dt class='head--type'><span class='homogen--type'>Directive</span>
<span class='homogen--name'><b>#warning</b></span>
</dt>
<dd><p><code class='directive'>#warning</code></p></dd>
<dt class='head--doc'>Description</dt>
<dd class='body--doc'><p>Generate a warning during preprocessing.</p>
<p> This directive causes a cpp warning, it can be used to notify
the user that certain functions are missing and similar things.</p>
</dd>
<dt class='head--doc'>Example</dt>
<dd class='example'><pre><pre><code>#if !constant(Yp)
#warning Support for NIS not available. Some features may not work.
#endif</code></pre>
</pre></dd>
<dt class='head--doc'>See also</dt>
<dd class='body--doc'><p><a class='ms reference' href='../cpp_3A_3A.html'>#error</a></p>
</dd></dl>
|
36ee1e | 2015-10-12 | Pontus Östlund | | </article>
</div>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
</div>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <footer>
|
078087 | 2016-10-04 | Pontus Östlund | | <div id="build-date">Extracted from <strong data-id="version"></strong> as of <strong data-id="date" data-timestamp=""></strong>.</div>
|
36ee1e | 2015-10-12 | Pontus Östlund | | </footer>
|
7e5ead | 2016-01-20 | Pontus Östlund | | <script>PikeDoc.current = {"link":"ex/cpp_3A_3A/_23warning.html","name":"#warning"};</script>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <script src='../../ex/cpp_3A_3A/index.js'></script>
<script src='../../ex/cpp_3A_3A/load_index.js'></script>
|
7e5ead | 2016-01-20 | Pontus Östlund | | <script>
// Tell PikeDoc that next actions are from loaded scripts
PikeDoc.isInline = false;
</script>
</body>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </html>
|