<!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>Warnings as Errors</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h3>Warnings as Errors</h3>
<p> If you enable the <b>Treat All Warnings as Errors</b> setting, the compiler treats all warnings as though they were errors. It does not compile a file successfully until you resolve all warnings.</p>
<p>The Treat All Warnings as Errors setting corresponds to the pragma <a href="../pragmas/p_warning_errors.htm">warning_errors</a>. To check this setting, use <span class="code">__option (warning_errors)</span>.</p>
<p>See <a href="../symbols/sym_settings.htm">Checking Option Settings</a> for information on how to use this directive.<br />
</p>
<div id="footer">Copyright © 2010 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>