mirror of
https://github.com/boostorg/build.git
synced 2026-02-10 23:32:20 +00:00
Document <warnings> and <warnings-as-errors> features.
[SVN r31069]
This commit is contained in:
@@ -1575,6 +1575,34 @@ unit-test helpers_test : helpers_test.cpp helpers ;
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry><term><literal>warnings</literal></term>
|
||||
|
||||
<listitem>
|
||||
<simpara>
|
||||
The <code><warnings></code> feature controls warning level of compilers. It has the following values:
|
||||
<itemizedlist>
|
||||
<listitem><para><code>off</code> - disables all warnigns.</para></listitem>
|
||||
<listitem><para><code>on</code> - enables default warning level for the tool.</para></listitem>
|
||||
<listitem><para><code>all</code> - enables all warnings.</para></listitem>
|
||||
</itemizedlist>
|
||||
Default value is <code>all</code>.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry><term><literal>warnings-as-errors</literal></term>
|
||||
|
||||
<listitem>
|
||||
<simpara>
|
||||
The <code><warnings-as-errors></code> makes it possible treat warnings as errors and abort
|
||||
compilation on warning. The value <code>on</code> enables this behaviour. The default value is
|
||||
<code>off</code>.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
|
||||
|
||||
</variablelist>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user